Commit Graph

83 Commits

Author SHA1 Message Date
Jinzhu 55074213bc Add SoftDelete support 2020-05-29 07:35:45 +08:00
Jinzhu dca5244387 Add FirstOrCreate support 2020-05-28 16:21:10 +08:00
Jinzhu ac8708b500 Add FirstOrInit support 2020-05-28 13:12:56 +08:00
Jinzhu 91a695893c Test Association For BelongsTo 2020-05-24 18:33:15 +08:00
Jinzhu cbc4a81140 Add Count tests 2020-05-24 11:35:19 +08:00
Jinzhu bb68f0d6b3 Refactor tests 2020-05-23 16:08:50 +08:00
Jinzhu b549f9bb9a Implement preload support 2020-05-14 12:19:12 +08:00
Jinzhu 50aa9be4f1 Add joins support 2020-04-15 09:45:43 +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 9e8a4db36b Use *gorm.DB to replace gorm.DB 2020-03-10 08:39:33 +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 3aa1891068 Add sync pool 2020-03-09 15:32:55 +08:00
Jinzhu a145d7e019 Refactor structure 2020-03-09 14:25:50 +08:00
Jinzhu 078ba75b9c Add QuoteTo method 2020-03-08 23:30:16 +08:00
Jinzhu 1403ee70c3 Make Query works 2020-03-03 14:18:12 +08:00
Jinzhu 04adbaf7f6 Fix parse stmt ReflectValue 2020-02-24 08:51:35 +08:00
Jinzhu fa22807e12 Make inesrt into db works 2020-02-23 19:41:29 +08:00
Jinzhu 6d58b62fd4 Add sqlite migration tests 2020-02-22 20:57:29 +08:00
Jinzhu 62dcd7896a Add Migrator 2020-02-20 23:04:03 +08:00
Jinzhu 98ad29f2c2 Add Selects, Omits for statement 2020-02-16 13:45:27 +08:00
Jinzhu c1afe19728 Add benchmark tests for clause 2020-02-14 00:09:44 +08:00
Jinzhu 1f38ec4410 Finish clauses tests 2020-02-08 23:23:45 +08:00
Jinzhu 0160bab7dc Add clause tests 2020-02-05 18:28:58 +08:00
Jinzhu 9d19be0826 Setup clauses tests 2020-02-04 09:51:19 +08:00
Jinzhu 46b1c85f88 Add more clauses 2020-02-04 08:56:15 +08:00
Jinzhu d52ee0aa44 Work on create callbacks 2020-02-03 10:40:03 +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 9d5b9834d9 Refactor builder 2020-01-30 19:47:00 +08:00
Jinzhu 85bfd175c6 Implement build conditions 2020-01-30 03:03:06 +08:00
Jinzhu b9cce2be6a Add clause, DB API, model definition 2020-01-29 19:22:44 +08:00