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
|
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
|
fea181e87c
|
Test multiple index tags
|
2020-07-01 11:47:46 +08:00 |
Jinzhu
|
2d048d9ece
|
SingularTable for JoinTable
|
2020-06-30 07:29:15 +08:00 |
Jinzhu
|
2476c0fbb4
|
Set db type after autotime
|
2020-06-26 07:26:45 +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
|
e77e7bb842
|
Fix nested embedded field with pointer, close #3071
|
2020-06-23 09:12:57 +08:00 |
Jinzhu
|
d0764bead1
|
Test migrate with comment and check created constraints
|
2020-06-21 13:59:43 +08:00 |
Jinzhu
|
fee1e4aafd
|
Fix create foreign keys for many2many relations
|
2020-06-21 10:48:23 +08:00 |
Jinzhu
|
a1e35bdc94
|
Support merge batch data some having primary values
|
2020-06-20 16:52:15 +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
|
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
|
1490a062db
|
Refactor codebase and add benchmark test
|
2020-06-05 23:26:56 +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
|
2218e32999
|
Allow customize table name with TableName
|
2020-06-02 15:48:19 +08:00 |
Jinzhu
|
8bb05a5a69
|
Refactor tests files
|
2020-06-02 10:50:38 +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
|
5ecbf25b22
|
Drop table with CASCADE option
|
2020-06-02 07:56:53 +08:00 |
Jinzhu
|
b71171dd92
|
Add more preload tests
|
2020-06-02 01:34:00 +08:00 |
Jinzhu
|
e490e09db5
|
Add SetupJoinTable support
|
2020-06-01 23:58:22 +08:00 |
Jinzhu
|
1559fe24e5
|
Add more updates test
|
2020-06-01 19:41:33 +08:00 |
Jinzhu
|
76b8e78dcb
|
Add multi primary keys test
|
2020-06-01 08:13:16 +08:00 |
Jinzhu
|
befef0c9a9
|
Improve Hooks
|
2020-06-01 00:12:20 +08:00 |
Jinzhu
|
49310d0974
|
Test override foreign key, reference
|
2020-05-31 17:42:21 +08:00 |
Jinzhu
|
6d555ef8d5
|
Test embedded struct
|
2020-05-31 14:18:07 +08:00 |
Jinzhu
|
7c0de9199c
|
Test Migrate Indexes
|
2020-05-30 22:43:41 +08:00 |
Jinzhu
|
c291c2f42c
|
Add Scanner, Valuer tests
|
2020-05-30 21:05:27 +08:00 |
Jinzhu
|
028c9d6e17
|
Test Updates
|
2020-05-30 17:01:28 +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
|
cc064f26ee
|
Add on conflict support
|
2020-05-25 23:11:42 +08:00 |
Jinzhu
|
5d9b57cc4e
|
Test HasMany Association
|
2020-05-25 11:11:09 +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
|
e60a8d54ff
|
Test Nested Preload
|
2020-05-24 00:52:25 +08:00 |
Jinzhu
|
590f622674
|
Refactor create tests
|
2020-05-23 22:32:16 +08:00 |
Jinzhu
|
5ec4fee797
|
Don't preload if foreign keys zero
|
2020-05-23 21:09:03 +08:00 |
Jinzhu
|
20cb57b1ac
|
Add association Delete support
|
2020-05-20 02:03:43 +08:00 |
Jinzhu
|
922a8efc53
|
Generate Query Conds for Relationship
|
2020-05-19 21:50:06 +08:00 |
Jinzhu
|
59365b776b
|
Refacotr Preload
|
2020-05-18 13:07:11 +08:00 |
Jinzhu
|
8def7be583
|
Add context to logger
|
2020-05-05 21:28:38 +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
|
d39bdc3513
|
Fix create index
|
2020-04-03 07:57:52 +08:00 |
Jinzhu
|
f7f633590f
|
Fix tests with mysql, postgres
|
2020-03-12 13:05:22 +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
|
b0e1bccf4a
|
Support scan into map, slice, struct
|
2020-03-04 11:33:50 +08:00 |
Jinzhu
|
04adbaf7f6
|
Fix parse stmt ReflectValue
|
2020-02-24 08:51:35 +08:00 |
Jinzhu
|
e2a360b9fa
|
Add Before/After callbacks
|
2020-02-23 21:22:35 +08:00 |
Jinzhu
|
fa22807e12
|
Make inesrt into db works
|
2020-02-23 19:41:29 +08:00 |
Jinzhu
|
fe24c3f105
|
Setup tests script
|
2020-02-23 09:38:51 +08:00 |
Jinzhu
|
6d58b62fd4
|
Add sqlite migration tests
|
2020-02-22 20:57:29 +08:00 |
Jinzhu
|
215f5e7765
|
Add Raw, Row, Rows
|
2020-02-22 19:41:01 +08:00 |
Jinzhu
|
fab7d96da5
|
Add DataTypeOf for dialector
|
2020-02-22 17:53:57 +08:00 |
Jinzhu
|
0be4817ff9
|
Finish CreateConstraint
|
2020-02-22 11:15:51 +08:00 |
Jinzhu
|
ea0b13f7a3
|
Refactor ParseTagSetting
|
2020-02-22 07:59:09 +08:00 |
Jinzhu
|
ad419855e9
|
Parse Indexes
|
2020-02-21 23:51:38 +08:00 |
Jinzhu
|
43ce0b8af2
|
Handle create with default db values
|
2020-02-20 10:13:26 +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
|
d833efe8b9
|
Work on clauses
|
2020-02-02 19:11:17 +08:00 |
Jinzhu
|
8cb15cadde
|
Improve test structure
|
2020-02-02 08:35:01 +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
|
a9c20291e4
|
Implement guess relation
|
2020-02-01 15:23:45 +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
|
bc68fde6aa
|
Implement naming strategy
|
2020-01-31 14:17:02 +08:00 |
Jinzhu
|
1079e17caf
|
Implement schema parser
|
2020-01-31 12:46:16 +08:00 |