Jinzhu
|
ba253982bf
|
Fix Pluck with Time and Scanner
|
2020-09-24 20:08:24 +08:00 |
Jinzhu
|
c0de3c5051
|
Support FullSaveAssociations Mode, close #3487, #3506
|
2020-09-24 19:29:15 +08:00 |
Jinzhu
|
5228735915
|
Don't build IN condition if value implemented Valuer interface, #3517
|
2020-09-24 15:00:13 +08:00 |
Jinzhu
|
1a526e6802
|
Fix NamingStrategy with embedded struct, close #3513
|
2020-09-24 11:32:38 +08:00 |
Jinzhu
|
d002c70cf6
|
Support named argument for struct
|
2020-09-17 21:52:41 +08:00 |
Jinzhu
|
a932175ccf
|
Refactor cascade delete associations
|
2020-09-15 14:28:26 +08:00 |
Jinzhu
|
ed1b134e1c
|
Fix use uint to for autoCreateTime, autoUpdateTime
|
2020-09-11 17:33:31 +08:00 |
Jinzhu
|
02fb382ec0
|
Support scan into int, string data types
|
2020-09-11 15:01:02 +08:00 |
Jinzhu
|
e583dfa196
|
Allow negative number for limit
|
2020-09-11 11:54:21 +08:00 |
Jinzhu
|
b8a74a80d7
|
Fix embedded struct with default value, close #3451
|
2020-09-11 11:18:54 +08:00 |
Jinzhu
|
70a7bd52ca
|
Support delete associations with Select when deleting
|
2020-09-10 21:46:18 +08:00 |
Jinzhu
|
2242ac6c0e
|
Fix tests & refactor for PR #3429
|
2020-09-09 10:31:48 +08:00 |
caelansar
|
aceb3dad3b
|
correct generated sql
|
2020-09-08 21:28:04 +08:00 |
Jinzhu
|
c70c097e88
|
Refactor format SQL for driver.Valuer
|
2020-09-08 19:11:29 +08:00 |
Jinzhu
|
c9d5c0b07a
|
Fix create database foreign keys for same type having has many/one & many2many relationships, close #3424
|
2020-09-08 18:25:29 +08:00 |
Jinzhu
|
05794298bd
|
Fix Save with specified table, close #3396
|
2020-09-06 12:22:08 +08:00 |
Jinzhu
|
d8ddccf147
|
Don't marshal to null for associations after preloading, close #3395
|
2020-09-04 19:09:51 +08:00 |
Jinzhu
|
28121d4455
|
Fix panic when batch creating from slice contains invalid data, close #3385
|
2020-09-03 20:59:41 +08:00 |
Jinzhu
|
dd0d74fad0
|
Fix transaction on closed conn when using prepared statement, close #3380
|
2020-09-03 19:16:55 +08:00 |
Jinzhu
|
3cd81ff646
|
Fix query with specified table and conditions, close #3382
|
2020-09-03 18:42:32 +08:00 |
Jinzhu
|
cf31508095
|
Fix tests_all.sh
|
2020-09-03 15:02:04 +08:00 |
Jinzhu
|
3cc7a30712
|
Fix tests/go.mod
|
2020-09-03 13:28:37 +08:00 |
Jinzhu
|
98e15e0b95
|
Setup DB's ConnPool in PrepareStmt mode, fix #3362
|
2020-09-03 12:54:26 +08:00 |
Jinzhu
|
48b395b760
|
returns ErrEmptySlice when creating with zero length slice
|
2020-09-03 11:32:30 +08:00 |
Jinzhu
|
fcb666cfa3
|
Fix associations using composite primary keys without ID field, close #3365
|
2020-09-03 10:58:48 +08:00 |
Jinzhu
|
130f24090d
|
update default_value_test
|
2020-09-02 21:03:47 +08:00 |
Jinzhu
|
dbe0f4d8d7
|
Allow use NULL as default value for string, close #3363
|
2020-09-02 20:15:12 +08:00 |
Jinzhu
|
680dda2c15
|
Fix combine conditions when using string conditions, close #3358
|
2020-09-02 20:09:51 +08:00 |
Jinzhu
|
dbaa6b0ec3
|
Fix Scan struct with primary key, close #3357
|
2020-09-02 16:14:26 +08:00 |
Jinzhu
|
d1e17d549f
|
request ColumnTypes after new session method
|
2020-09-01 20:53:54 +08:00 |
Jinzhu
|
e73147fa8e
|
Better support for scan into map, fix unfriendly data type for interface, close #3351
|
2020-09-01 17:45:14 +08:00 |
Jinzhu
|
e98a4a3a4e
|
Change default timeout interval to avoid test fail on CI
|
2020-09-01 14:01:59 +08:00 |
Jinzhu
|
308d22b166
|
Clean up associations before Preload, close #3345
|
2020-09-01 13:48:37 +08:00 |
Jinzhu
|
496db1f13e
|
Fix named argument with multiple line SQL, fix #3336
|
2020-08-31 15:45:56 +08:00 |
Jinzhu
|
9b0ad4730f
|
Squashed commit of the following:
commit 759038a126122d5b3323979fdd7d867a4ab85585
Author: Jinzhu <wosmvp@gmail.com>
Date: Mon Aug 31 12:06:31 2020 +0800
Add PreparedStmt tests
commit 066d54db1f
Author: 王岚 <wanglan.backend@bytedance.com>
Date: Fri Aug 28 18:40:59 2020 +0800
prepare_stmt add ctx
|
2020-08-31 12:08:33 +08:00 |
Jinzhu
|
b4166d9515
|
Fix V2 Save compatibility, close #3332
|
2020-08-30 10:21:11 +08:00 |
Jinzhu
|
59586dcd31
|
Fix unnecessary duplicated primary condition when using Save, close #3330
|
2020-08-29 23:02:19 +08:00 |
Jinzhu
|
06461b3254
|
GORM V2.0.0
|
2020-08-28 21:16:47 +08:00 |
Jinzhu
|
dacbaa5f02
|
Fix update attrs order
|
2020-08-27 19:52:01 +08:00 |
Jinzhu
|
cd54dddd94
|
Test update with GormValuer
|
2020-08-27 18:42:40 +08:00 |
Jinzhu
|
7a90496701
|
Test create from sql expr with map
|
2020-08-27 16:27:59 +08:00 |
Jinzhu
|
ce8853e7a6
|
Add GormValuer interface support
|
2020-08-27 15:03:57 +08:00 |
Jinzhu
|
3195ae1207
|
Allow override alias table in preload conditions
|
2020-08-25 18:59:19 +08:00 |
Jinzhu
|
3dfa8a66f1
|
Fix panic when delet without pointer, close #3308
|
2020-08-25 17:27:28 +08:00 |
Jinzhu
|
84dbb36d3b
|
Add Golang v1.15
|
2020-08-24 20:24:25 +08:00 |
Jinzhu
|
ebdb4edda8
|
Add AllowGlobalUpdate mode
|
2020-08-23 20:08:23 +08:00 |
Jinzhu
|
cc6a64adfb
|
Support smart migrate, close #3078
|
2020-08-23 18:16:12 +08:00 |
Jinzhu
|
3a97639880
|
Fix unordered joins, close #3267
|
2020-08-23 10:45:10 +08:00 |
Jinzhu
|
0c9870d1ae
|
Test Association Mode with conditions
|
2020-08-20 10:39:01 +08:00 |
Jinzhu
|
c1782d60c1
|
Fix embedded scanner/valuer, close #3283
|
2020-08-19 15:47:08 +08:00 |