Commit Graph

535 Commits

Author SHA1 Message Date
Jinzhu 952df527db Test create polymorphic has one 2020-04-17 08:40:11 +08:00
Jinzhu fb44625c33 Save HasOne association 2020-04-17 08:23:47 +08:00
Jinzhu 345ff7577c Save before associations 2020-04-15 23:58:26 +08:00
Jinzhu b4b249ddcb Refactor test files 2020-04-15 19:13:36 +08:00
Jinzhu f7f633590f Fix tests with mysql, postgres 2020-03-12 13:05:22 +08:00
Jinzhu af080e6773 Fix primary key tag 2020-03-12 08:39:42 +08:00
Jinzhu 2a0c3e39f2 AddVar accept writer 2020-03-09 17:59:54 +08:00
Jinzhu 504f42760a Refactor clause Writer 2020-03-09 17:07:00 +08:00
Jinzhu 078ba75b9c Add QuoteTo method 2020-03-08 23:30:16 +08:00
Jinzhu 5fce17543a Add Joins 2020-03-08 19:12:33 +08:00
Jinzhu a158d1ada0 Add GroupBy test 2020-03-08 18:05:22 +08:00
Jinzhu ce0e6f9f33 Add Delete test 2020-03-08 14:51:52 +08:00
Jinzhu 2da0ad5bed Add more tests for Update 2020-03-08 13:24:08 +08:00
Jinzhu cbd55dbcd5 Add Update test 2020-03-07 15:20:09 +08:00
Jinzhu 9f7f4b430e Refactor find slice 2020-03-04 22:16:39 +08:00
Jinzhu b0e1bccf4a Support scan into map, slice, struct 2020-03-04 11:33:50 +08:00
Jinzhu 1403ee70c3 Make Query works 2020-03-03 14:18:12 +08:00
Jinzhu 0da8191f60 Update test helper 2020-03-02 23:43:34 +08:00
Jinzhu fa22807e12 Make inesrt into db works 2020-02-23 19:41:29 +08:00
Jinzhu 27cb613871 Refactor logger 2020-02-23 15:07:47 +08:00
Jinzhu bc5ceff82f Explain SQL for dialects 2020-02-23 12:41:13 +08:00
Jinzhu fe24c3f105 Setup tests script 2020-02-23 09:38:51 +08:00
Jinzhu d3c63a03cb Handle constraint dependencies smartly 2020-02-23 00:18:12 +08:00
Jinzhu 1895d281bf Add migrator tests for mysql 2020-02-22 23:08:20 +08:00
Jinzhu 6d58b62fd4 Add sqlite migration tests 2020-02-22 20:57:29 +08:00
Jinzhu 215f5e7765 Add Raw, Row, Rows 2020-02-22 19:41:01 +08:00
Jinzhu faee069a9f Test Field Valuer, Setter 2020-02-15 20:28:03 +08:00
Jinzhu 0160bab7dc Add clause tests 2020-02-05 18:28:58 +08:00
Jinzhu 728c0d4470 Add callbacks 2020-02-02 20:05:10 +08:00
Jinzhu d833efe8b9 Work on clauses 2020-02-02 19:11:17 +08:00
Jinzhu 8cb15cadde Improve test structure 2020-02-02 08:35:01 +08:00
Jinzhu 3cbd233758 Add more tests for parse schema relations 2020-02-02 00:03:56 +08:00
Jinzhu a4a0895a85 Test parse schema relations 2020-02-01 22:26:17 +08:00
Jinzhu 14724ddeae Add tests model definition and basic fields tests 2020-02-01 20:18:32 +08:00
Jinzhu 5959c81be6 Refactor callbacks 2020-01-31 08:44:45 +08:00