Jinzhu
|
6834c25cec
|
Fix stack overflow for embedded self-referred associations, close #3269
|
2020-08-17 12:02:46 +08:00 |
Jinzhu
|
7d45833f3e
|
Fix driver.Valuer interface returns nil, close #3248
|
2020-08-13 12:05:55 +08:00 |
Jinzhu
|
a3dda47afa
|
Don't parse ignored anonymous field
|
2020-08-13 10:23:23 +08:00 |
Jinzhu
|
ff985b90cc
|
Fix failed to guess relations for embedded types, close #3224
|
2020-08-04 12:25:34 +08:00 |
lninl
|
7bb883b665
|
Auto creating/updating time with unix (milli) second (#3213)
* Auto creating/updating time with unix (milli) second
* add test for 'Auto creating/updating time with unix (milli) second'
|
2020-07-30 17:39:57 +08:00 |
Jinzhu
|
47a5196734
|
Fix uninitialized Valuer return time.Time, close #3214
|
2020-07-30 17:37:07 +08:00 |
Jinzhu
|
7c2ecdfc1c
|
Fix use pointer of Valuer as foreign key, close #3212
|
2020-07-30 10:23:35 +08:00 |
Jinzhu
|
2cbdd29f26
|
Returns error for invalid embedded field, close #3209
|
2020-07-29 10:23:14 +08:00 |
Jinzhu
|
ef002fd7ac
|
Add GORMDataType to Field, close #3171
|
2020-07-20 19:00:03 +08:00 |
Jinzhu
|
6dc583869b
|
Don't use value's first field to guess data type for struct implements GormDataTypeInterface
|
2020-07-17 12:02:00 +08:00 |
Jinzhu
|
4456df7a5d
|
Lint with golangci-lint
|
2020-07-16 11:27:12 +08:00 |
Jinzhu
|
0028246ea5
|
Don't set DefaultValueInterface when DefaultValue not set, close #3152
|
2020-07-16 10:19:24 +08:00 |
Jinzhu
|
90a40361ed
|
Fix set bool field from null
|
2020-07-04 08:21:23 +08:00 |
Jinzhu
|
6b98ced13d
|
Fix set time field from null, close #3108
|
2020-07-04 07:45:07 +08:00 |
Jinzhu
|
2476c0fbb4
|
Set db type after autotime
|
2020-06-26 07:26:45 +08:00 |
Jinzhu
|
e77e7bb842
|
Fix nested embedded field with pointer, close #3071
|
2020-06-23 09:12:57 +08:00 |
Jinzhu
|
d4d339f3b5
|
Handle data type cases
|
2020-06-19 22:51:46 +08:00 |
Jinzhu
|
07960fe661
|
Fix []byte support
|
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 |
Jinzhu
|
a954d772d7
|
Support customize gorm field type
|
2020-06-06 10:47:32 +08:00 |
Jinzhu
|
d50879cc28
|
Add field permission test
|
2020-06-05 19:18:22 +08:00 |
Jinzhu
|
b32658358c
|
Fix can't scan null value into normal data types
|
2020-06-03 09:00:20 +08:00 |
Jinzhu
|
94685d1024
|
Fix can't scan null value into normal data types
|
2020-06-02 23:30:26 +08:00 |
Jinzhu
|
5790ba9ef4
|
Fix package path
|
2020-06-02 09:25:55 +08:00 |
Jinzhu
|
e986371a42
|
Rename package name
|
2020-06-02 09:18:01 +08:00 |
Jinzhu
|
1559fe24e5
|
Add more updates test
|
2020-06-01 19:41:33 +08:00 |
Jinzhu
|
6d555ef8d5
|
Test embedded struct
|
2020-05-31 14:18:07 +08:00 |
Jinzhu
|
c291c2f42c
|
Add Scanner, Valuer tests
|
2020-05-30 21:05:27 +08:00 |
Jinzhu
|
abae7f71c5
|
Test non std primary key and default value
|
2020-05-30 16:03:27 +08:00 |
Jinzhu
|
6f4602af11
|
Fix mysql tests
|
2020-05-29 23:38:03 +08:00 |
Jinzhu
|
55074213bc
|
Add SoftDelete support
|
2020-05-29 07:35:45 +08:00 |
Jinzhu
|
68a7a8207a
|
Test HasOne Association
|
2020-05-24 23:07:42 +08:00 |
Jinzhu
|
91a695893c
|
Test Association For BelongsTo
|
2020-05-24 18:33:15 +08:00 |
Jinzhu
|
56ca9a87e0
|
Add permission check when create associations
|
2020-04-16 10:29:18 +08:00 |
Jinzhu
|
e1bcca6b33
|
Compatible with tag PRIMARY_KEY
|
2020-04-12 13:16:15 +08:00 |
Jinzhu
|
a46d48ccb3
|
Add tests for controlling field permission with tag
|
2020-04-08 08:32:28 +08:00 |
Jinzhu
|
29cd35219f
|
Add creatable, updatable, readable permission
|
2020-04-08 08:15:00 +08:00 |
Jinzhu
|
af080e6773
|
Fix primary key tag
|
2020-03-12 08:39:42 +08:00 |
Jinzhu
|
2da0ad5bed
|
Add more tests for Update
|
2020-03-08 13:24:08 +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
|
fab7d96da5
|
Add DataTypeOf for dialector
|
2020-02-22 17:53:57 +08:00 |
Jinzhu
|
ea0b13f7a3
|
Refactor ParseTagSetting
|
2020-02-22 07:59:09 +08:00 |
Jinzhu
|
cbbf8f3d49
|
Update schema
|
2020-02-18 22:56:37 +08:00 |
Jinzhu
|
18236fa3d7
|
Add more tests for setter, valuer
|
2020-02-16 00:37:59 +08:00 |
Jinzhu
|
faee069a9f
|
Test Field Valuer, Setter
|
2020-02-15 20:28:03 +08:00 |
Jinzhu
|
2cb88dc7c5
|
Add Field Valuer, Setter
|
2020-02-15 18:24:37 +08:00 |
Jinzhu
|
3cbd233758
|
Add more tests for parse schema relations
|
2020-02-02 00:03:56 +08:00 |
Jinzhu
|
a4a0895a85
|
Test parse schema relations
|
2020-02-01 22:26:17 +08:00 |
Jinzhu
|
14724ddeae
|
Add tests model definition and basic fields tests
|
2020-02-01 20:18:32 +08:00 |
Jinzhu
|
fd9b688084
|
Implement parse many2many relation
|
2020-02-01 18:02:19 +08:00 |
Jinzhu
|
eea78f3f30
|
Implement parse relationship architecture
|
2020-02-01 12:46:52 +08:00 |
Jinzhu
|
010dc7e6dd
|
Add namer when generate schema
|
2020-01-31 14:31:15 +08:00 |
Jinzhu
|
1079e17caf
|
Implement schema parser
|
2020-01-31 12:46:16 +08:00 |