Jinzhu
|
ef002fd7ac
|
Add GORMDataType to Field, close #3171
|
2020-07-20 19:00:03 +08:00 |
Jinzhu
|
a0477f94dd
|
Allow Omit with Query, close #3165
|
2020-07-19 21:48:58 +08:00 |
Jinzhu
|
b8692c7671
|
Allow temporarily disable default transaction
|
2020-07-16 18:05:55 +08:00 |
Jinzhu
|
4456df7a5d
|
Lint with golangci-lint
|
2020-07-16 11:27:12 +08:00 |
Jinzhu
|
33c48611b6
|
Fix customize table with Delete, close #3129
|
2020-07-10 13:08:29 +08:00 |
Jinzhu
|
a8655f7947
|
Fix auto select with smaller struct for slices
|
2020-07-09 12:15:35 +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
|
b5725940e9
|
Test Select with Update Struct
|
2020-07-06 11:20:43 +08:00 |
Jinzhu
|
89ea62077d
|
DryRun for RowQuery, Exec, close #3106
|
2020-07-04 08:35:11 +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
|
9075b33620
|
Query with smaller struct
|
2020-07-01 08:56:21 +08:00 |
Jinzhu
|
929c0c576c
|
Test Hooks For Slice
|
2020-06-30 22:47:21 +08:00 |
Jinzhu
|
f5566288de
|
Add SetColumn, Changed method
|
2020-06-30 16:53:54 +08:00 |
Jinzhu
|
5883490aa7
|
Select, Omit, Preload supports clause.Associations
|
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
|
4f19e2a7b3
|
Test ForeignKeyConstraints
|
2020-06-20 01:20:18 +08:00 |
Jinzhu
|
2c1b04a2cf
|
Fix failed to create second record in same transaction, close #3060
|
2020-06-19 12:38:03 +08:00 |
Jinzhu
|
0d58d5a3a7
|
Upsert selected columns
|
2020-06-10 10:48:48 +08:00 |
Jinzhu
|
f3424c6864
|
Support save slice of data
|
2020-06-10 00:02:14 +08:00 |
Jinzhu
|
05e6a65ee1
|
Fix typo
|
2020-06-09 12:00:43 +08:00 |
Jinzhu
|
c4872cddfd
|
Refactor callbacks
|
2020-06-09 10:17:24 +08:00 |
Jinzhu
|
9f19378304
|
Grow SQL capacity to reduce allocation
|
2020-06-08 20:23:47 +08:00 |
Jinzhu
|
aaf0725771
|
Refactor for performance
|
2020-06-08 17:21:26 +08:00 |
Jinzhu
|
d11c424334
|
Fix typo
|
2020-06-07 15:26:43 +08:00 |
Jinzhu
|
1490a062db
|
Refactor codebase and add benchmark test
|
2020-06-05 23:26:56 +08:00 |
Jinzhu
|
163200d05f
|
Test Hooks
|
2020-06-05 20:24:15 +08:00 |
Jinzhu
|
eda2f023b0
|
Add Distinct support
|
2020-06-05 19:19:12 +08:00 |
Jinzhu
|
d50879cc28
|
Add field permission test
|
2020-06-05 19:18:22 +08:00 |
Jinzhu
|
e986371a42
|
Rename package name
|
2020-06-02 09:18:01 +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
|
4e147e1256
|
Test SubQuery
|
2020-06-01 21:26:23 +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
|
e26abb84b3
|
Test block global update/delete
|
2020-05-31 20:42:07 +08:00 |
Jinzhu
|
5b1d3e4a77
|
Test Joins
|
2020-05-31 20:21:52 +08:00 |
Jinzhu
|
749ca37eb0
|
Add sql builder test
|
2020-05-31 19:23:32 +08:00 |
Jinzhu
|
aa959ec383
|
Test NamedPolymorphic
|
2020-05-31 14:41:45 +08:00 |
Jinzhu
|
9d3e929790
|
Test Select, Omit with Create
|
2020-05-31 13:34:53 +08:00 |
Jinzhu
|
1546f8a4a1
|
Test CreateWithNoGORMPrimayKey
|
2020-05-31 12:52:49 +08:00 |
Jinzhu
|
1e7eb12cba
|
Test empty struct
|
2020-05-31 11:19:45 +08:00 |
Jinzhu
|
58bc0f51c1
|
Fix mssql rename index, has column
|
2020-05-31 07:57:13 +08:00 |
Jinzhu
|
c422d75f4b
|
Add Scopes tests
|
2020-05-30 19:43:29 +08:00 |
Jinzhu
|
9dd516a7e8
|
Test UpdateColumn
|
2020-05-30 17:34:22 +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
|
db428f221f
|
Fix postgres tests
|
2020-05-30 00:18:22 +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
|
5be642a435
|
Add ScanRows support
|
2020-05-26 23:13:05 +08:00 |
Jinzhu
|
51c5be0503
|
Finish Scan support
|
2020-05-26 21:30:17 +08:00 |
Jinzhu
|
dea48a8c59
|
Test Many2Many Association
|
2020-05-26 00:16:44 +08:00 |
Jinzhu
|
cc064f26ee
|
Add on conflict support
|
2020-05-25 23:11:42 +08:00 |
Jinzhu
|
135d9f8b03
|
Test HasMany Association for Slice
|
2020-05-25 11:57:58 +08:00 |
Jinzhu
|
68a7a8207a
|
Test HasOne Association
|
2020-05-24 23:07:42 +08:00 |
Jinzhu
|
2db33730b6
|
Add Slice Association for BelongsTo
|
2020-05-24 20:53:20 +08:00 |
Jinzhu
|
91a695893c
|
Test Association For BelongsTo
|
2020-05-24 18:33:15 +08:00 |
Jinzhu
|
cbc4a81140
|
Add Count tests
|
2020-05-24 11:35:19 +08:00 |
Jinzhu
|
e60a8d54ff
|
Test Nested Preload
|
2020-05-24 00:52:25 +08:00 |
Jinzhu
|
f0a442adff
|
Refactor tests
|
2020-05-23 23:50:48 +08:00 |
Jinzhu
|
5ec4fee797
|
Don't preload if foreign keys zero
|
2020-05-23 21:09:03 +08:00 |
Jinzhu
|
2ca4e91d88
|
Fix LastInsertID with string primary key
|
2020-05-23 18:38:55 +08:00 |
Jinzhu
|
0f21272c7f
|
Finish implement association support
|
2020-05-20 23:44:50 +08:00 |
Jinzhu
|
59365b776b
|
Refacotr Preload
|
2020-05-18 13:07:11 +08:00 |
Jinzhu
|
f999240e10
|
Define association API, add conds to when preloading
|
2020-05-14 20:54:50 +08:00 |
Jinzhu
|
42aae57240
|
Test Preload for BelongsTo/HasOne/HasMany
|
2020-05-14 14:41:33 +08:00 |
Jinzhu
|
b549f9bb9a
|
Implement preload support
|
2020-05-14 12:19:12 +08:00 |
Jinzhu
|
41697d58d3
|
Handle preload
|
2020-05-07 10:03:48 +08:00 |
Jinzhu
|
9dfed613db
|
Test inner joins
|
2020-04-29 23:47:18 +08:00 |
Jinzhu
|
85f3174467
|
Test has many associations
|
2020-04-22 09:38:32 +08:00 |
Jinzhu
|
43a814ae70
|
Add bulk create associations tests
|
2020-04-20 11:47:29 +08:00 |
Jinzhu
|
7bcd95d4b8
|
Add save associations for bulk create
|
2020-04-19 23:11:56 +08:00 |
Jinzhu
|
158bacefbe
|
Add save has many relations
|
2020-04-19 14:29:31 +08:00 |
Jinzhu
|
952df527db
|
Test create polymorphic has one
|
2020-04-17 08:40:11 +08:00 |
Jinzhu
|
fb44625c33
|
Save HasOne association
|
2020-04-17 08:23:47 +08:00 |
Jinzhu
|
56ca9a87e0
|
Add permission check when create associations
|
2020-04-16 10:29:18 +08:00 |
Jinzhu
|
345ff7577c
|
Save before associations
|
2020-04-15 23:58:26 +08:00 |
Jinzhu
|
50aa9be4f1
|
Add joins support
|
2020-04-15 09:45:43 +08:00 |
Jinzhu
|
29cd35219f
|
Add creatable, updatable, readable permission
|
2020-04-08 08:15:00 +08:00 |
Jinzhu
|
3a126233bf
|
Fix select with *
|
2020-03-23 22:40:12 +08:00 |
Jinzhu
|
f7f633590f
|
Fix tests with mysql, postgres
|
2020-03-12 13:05:22 +08:00 |
Jinzhu
|
a145d7e019
|
Refactor structure
|
2020-03-09 14:25:50 +08:00 |
Jinzhu
|
ce0e6f9f33
|
Add Delete test
|
2020-03-08 14:51:52 +08:00 |
Jinzhu
|
2da0ad5bed
|
Add more tests for Update
|
2020-03-08 13:24:08 +08:00 |
Jinzhu
|
cbd55dbcd5
|
Add Update test
|
2020-03-07 15:20:09 +08:00 |
Jinzhu
|
9f7f4b430e
|
Refactor find slice
|
2020-03-04 22:16:39 +08:00 |
Jinzhu
|
b0e1bccf4a
|
Support scan into map, slice, struct
|
2020-03-04 11:33:50 +08:00 |
Jinzhu
|
1403ee70c3
|
Make Query works
|
2020-03-03 14:18:12 +08:00 |
Jinzhu
|
5ccd76f76c
|
Setup Transaction
|
2020-02-23 23:28:59 +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
|
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
|
43ce0b8af2
|
Handle create with default db values
|
2020-02-20 10:13:26 +08:00 |
Jinzhu
|
15ce5b3cdd
|
Add create value converter
|
2020-02-20 10:12:10 +08:00 |
Jinzhu
|
9d19be0826
|
Setup clauses tests
|
2020-02-04 09:51:19 +08:00 |
Jinzhu
|
46b1c85f88
|
Add more clauses
|
2020-02-04 08:56:15 +08:00 |
Jinzhu
|
d52ee0aa44
|
Work on create callbacks
|
2020-02-03 10:40:03 +08:00 |