Commit Graph

2149 Commits

Author SHA1 Message Date
Jinzhu bc3728a18f Fix concurrent map writes, close #3126 2020-07-10 07:14:37 +08:00
Jinzhu c091cd6aa4 Update stale action 2020-07-09 22:14:11 +08:00
Jinzhu d04984323f Add stale for v1 action 2020-07-09 22:02:29 +08:00
Jinzhu a8655f7947 Fix auto select with smaller struct for slices 2020-07-09 12:15:35 +08:00
Jinzhu 0790ff6937 Update tests helper to check time 2020-07-09 09:42:27 +08:00
Jinzhu 2ae0653af2 Fix ambiguous column when using same column name in join table, close #3120 2020-07-09 09:03:48 +08:00
Jinzhu e1084e78d0 Allow customize AutoIncrement for primary field 2020-07-08 18:50:49 +08:00
Jinzhu 30188e7aa4 CHECK constraint without parentheses 2020-07-08 18:15:45 +08:00
Jinzhu 619cd332ec Add index priority supports 2020-07-08 17:59:40 +08:00
Jinzhu de482f57ff Test raw sql with gorm.Expr 2020-07-06 15:47:33 +08:00
Jinzhu b5725940e9 Test Select with Update Struct 2020-07-06 11:20:43 +08:00
Jinzhu 9a4941ba70 Test Order/GroupBy 2020-07-06 09:47:14 +08:00
Jinzhu 4e066c9590 Test Or 2020-07-05 12:23:45 +08:00
Jinzhu 1a2fabb34d Test Not 2020-07-05 11:56:12 +08:00
Jinzhu 89ea62077d DryRun for RowQuery, Exec, close #3106 2020-07-04 08:35:11 +08:00
Jinzhu 90a40361ed Fix set bool field from null 2020-07-04 08:21:23 +08:00
Jinzhu f835a4deac Add health check for github action databases 2020-07-04 07:57:33 +08:00
Jinzhu 6b98ced13d Fix set time field from null, close #3108 2020-07-04 07:45:07 +08:00
Jinzhu d4f8a52442 Fix join table foreign key in snake_case 2020-07-04 07:24:46 +08:00
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