1802 Commits

Author SHA1 Message Date
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 v0.2.19 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 v0.2.18 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 v0.2.17 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 v0.2.16 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
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 v0.2.15 2020-06-23 22:41:41 +08:00
Jinzhu
4201f7bdab Fix create unique index when creating table, close #3081 2020-06-23 22:14:41 +08:00
mojotv
dd7caa9db0
add macos and windows for sqlite unit test and use cache for go mod package download (#3079)
Co-authored-by: EricZhou <zhouqing1@360.cn>
2020-06-23 16:00:04 +08:00
Hinagiku Soranoba
b733d16f56
Create supports Array / ArrayPtr (#3076)
* add Array / ArrayPtr create tests

* support create using array
2020-06-23 14:38:36 +08:00
Jinzhu
1df757113a initialize plugins map v0.2.14 2020-06-23 10:36:45 +08:00
Jinzhu
f4bfc435cc Add register plugin API v0.2.13 2020-06-23 09:38:51 +08:00
Jinzhu
e77e7bb842 Fix nested embedded field with pointer, close #3071 2020-06-23 09:12:57 +08:00
Jinzhu
32bd6b3e8f Fix Count with Select 2020-06-23 08:51:01 +08:00
Jinzhu
c84a8fe571 Switch to github actions 2020-06-22 23:14:17 +08:00
Jinzhu
71ae2ddbee Refactor github actions 2020-06-22 22:51:54 +08:00
Jinzhu
60d1e68567 Update github action CI 2020-06-22 22:37:14 +08:00
Jinzhu
59d7150917 Update README 2020-06-22 20:22:15 +08:00
Jinzhu
5d044642d1 Allow DisableForeignKeyConstraintWhenMigrating 2020-06-22 11:04:44 +08:00
Jinzhu
7851faa094 Allow close prepared statements, double check before prepare 2020-06-21 18:18:23 +08:00
Jinzhu
d0764bead1 Test migrate with comment and check created constraints v0.2.12 2020-06-21 13:59:43 +08:00
Jinzhu
fee1e4aafd Fix create foreign keys for many2many relations v0.2.11 2020-06-21 10:48:23 +08:00
Jinzhu
5883490aa7 Select, Omit, Preload supports clause.Associations v0.2.10 2020-06-20 17:21:01 +08:00
Jinzhu
a1e35bdc94 Support merge batch data some having primary values 2020-06-20 16:52:15 +08:00
Jinzhu
3d8f6f9cf9 Test GroupConditions 2020-06-20 01:55:30 +08:00
Jinzhu
4f19e2a7b3 Test ForeignKeyConstraints 2020-06-20 01:20:18 +08:00
Jinzhu
d4d339f3b5 Handle data type cases 2020-06-19 22:51:46 +08:00
Jinzhu
e3292b3b41 Test with latest driver vesion v0.2.9 2020-06-19 18:44:19 +08:00
Jinzhu
7dc255acfe Add SavePoint/RollbackTo/NestedTransaction 2020-06-19 18:30:04 +08:00
Jinzhu
2c1b04a2cf Fix failed to create second record in same transaction, close #3060 v0.2.8 2020-06-19 12:38:03 +08:00
Jinzhu
07960fe661 Fix []byte support v0.2.7 2020-06-18 11:24:08 +08:00
Jinzhu
96368eb967 Test embedded struct implements Scan & Value interface 2020-06-18 09:15:23 +08:00
Jinzhu
6b2f37189e Fix few cases with postgres 2020-06-18 08:40:41 +08:00
mojotv
ca2c80c8e3
add githubAction CI for tests (#3057) 2020-06-17 20:29:37 +08:00
Jinzhu
e487f355a0 Add DB method 2020-06-17 19:57:54 +08:00