Commit Graph

2680 Commits

Author SHA1 Message Date
Jinzhu 2416eabd3f Change unique_idnex to UniqueIndex 2020-07-04 00:36:27 +08:00
Jinzhu f93345afa8 Close cached prepared stmt when got error 2020-07-03 10:26:18 +08:00
Jinzhu 8100ac7663 Change default postgres DSN for github action 2020-07-03 09:27:24 +08:00
Jinzhu 2d945a9641 Switch pgx as default driver 2020-07-03 08:54:12 +08:00
SmallTianTian 3c03b6e527
fix no limit no offset. (#3101)
* fix no limit no offset.

* add test for playground.
2020-07-02 18:14:33 +08:00
Jinzhu 3f355dc050 Refactor 2020-07-02 10:14:30 +08:00
Jinzhu 63e48191a8 Test failed to save association should rollback, close #3100 2020-07-01 21:28:19 +08:00
Jinzhu b0aae504ab Merge branch 'mojocn-master' 2020-07-01 19:53:50 +08:00
Jinzhu 322c6a36ee Fix .github config 2020-07-01 19:52:16 +08:00
Jinzhu 65d6c19d73 Test multiple index tags 2020-07-01 19:49:04 +08:00
Jinzhu d342f4122a Better support Count in chain 2020-07-01 19:49:04 +08:00
Jinzhu 9d7df71332 Query with smaller struct 2020-07-01 19:49:04 +08:00
Jinzhu 7aaac3a580 Allow to use sql function in Group, Pluck 2020-07-01 19:49:04 +08:00
Jinzhu 3e4dbde920 Test Hooks For Slice 2020-07-01 19:49:04 +08:00
Jinzhu 66dcd7e3ca Add SetColumn, Changed method 2020-07-01 19:49:04 +08:00
Jinzhu e308b103c0 SingularTable for JoinTable 2020-07-01 19:49:04 +08:00
Jinzhu eeee014500 Only query with readable fields 2020-07-01 19:49:04 +08:00
Jinzhu d5d31b38a7 Test group with table name 2020-07-01 19:49:04 +08:00
Jinzhu a550a05882 Set db type after autotime 2020-07-01 19:49:04 +08:00
Jinzhu 81f4fafae4 Test group by with multiple columns 2020-07-01 19:49:04 +08:00
Jinzhu af632199cf Test set string field's default value to blank string 2020-07-01 19:49:04 +08:00
Jinzhu c888560a0e Fix go.mod 2020-07-01 19:49:04 +08:00
Jinzhu dcdcc6fedc Fix create with default value 2020-07-01 19:49:04 +08:00
Jinzhu 4cbd99aa94 Add default value test 2020-07-01 19:49:04 +08:00
Jinzhu 19f56ddc2a Upgrade default mysql driver 2020-07-01 19:49:04 +08:00
Jinzhu 6b92bca664 Update test script 2020-07-01 19:49:04 +08:00
Jinzhu 630f4fe03f Create join table with ReorderModels 2020-07-01 19:49:04 +08:00
Jinzhu fea181e87c Test multiple index tags 2020-07-01 11:47:46 +08:00
Jinzhu d02b592c6c Better support Count in chain 2020-07-01 10:19:52 +08:00
Jinzhu 9075b33620 Query with smaller struct 2020-07-01 08:56:21 +08:00
Jinzhu ee1f46e3a1 Allow to use sql function in Group, Pluck 2020-06-30 23:06:48 +08:00
Jinzhu 929c0c576c Test Hooks For Slice 2020-06-30 22:47:21 +08:00
Jinzhu f5566288de Add SetColumn, Changed method 2020-06-30 16:53:54 +08:00
Jinzhu 2d048d9ece SingularTable for JoinTable 2020-06-30 07:29:15 +08:00
Jinzhu 9bfe306975 Only query with readable fields 2020-06-27 08:04:12 +08:00
Jinzhu cb5a35a807 Test group with table name 2020-06-26 08:39:18 +08:00
Jinzhu 2476c0fbb4 Set db type after autotime 2020-06-26 07:26:45 +08:00
Jinzhu 4eae3fea41 Test group by with multiple columns 2020-06-25 23:37:49 +08:00
Jinzhu f2b49437fb Test set string field's default value to blank string 2020-06-25 22:48:10 +08:00
Jinzhu c5feff1591 Fix go.mod 2020-06-25 08:08:37 +08:00
Jinzhu 1b28c187c0 Fix create with default value 2020-06-25 08:00:10 +08:00
Jinzhu fb56fe993a Add default value test 2020-06-25 06:38:07 +08:00
Jinzhu 3ec7ed1d51 Upgrade default mysql driver 2020-06-24 20:19:28 +08:00
Jinzhu 8ce2dd5548 Update test script 2020-06-24 19:09:19 +08:00
Jinzhu 4a01d4c263 Create join table with ReorderModels 2020-06-24 17:19:11 +08:00
EricZhou eac6d1bdb9 issue 2020-06-24 16:33:25 +08:00
Jinzhu 834cfa2c78 Disable GORM_VERBOSE in github action 2020-06-24 15:04:46 +08:00
Jinzhu 67bd842645 Update tests all script 2020-06-24 14:56:04 +08:00
Jinzhu 90f817db29 Update issue template 2020-06-24 14:48:44 +08:00
Jinzhu 7e1fa4a44d Fix Count after Session 2020-06-23 22:41:41 +08:00