Jinzhu
|
14a0976dd4
|
populate the DeletedAt field when soft delete, fix #3855
|
2020-12-15 10:39:20 +08:00 |
Jinzhu
|
f655041908
|
Allow overwrite ignored field's permission, close #3829
|
2020-12-06 11:07:05 +08:00 |
Jinzhu
|
9df9f7688b
|
Change UpdatingColumn to SkipHooks
|
2020-11-17 17:49:43 +08:00 |
Jinzhu
|
26504f5cae
|
Use NewDB to replace WithConditions for Session
|
2020-11-17 16:28:37 +08:00 |
Jinzhu
|
1e241aa645
|
Reduce GC alloc
|
2020-11-10 21:23:20 +08:00 |
Jinzhu
|
4009ec5816
|
Fix call hook methods when updating with struct
|
2020-10-27 18:14:36 +08:00 |
Jinzhu
|
d011ebe7af
|
Fix clone statement for Unscoped, UpdatingColumn, close #3681
|
2020-10-26 10:17:25 +08:00 |
Jinzhu
|
5228735915
|
Don't build IN condition if value implemented Valuer interface, #3517
|
2020-09-24 15:00:13 +08:00 |
Jinzhu
|
f6117b7f3d
|
Should not diplay SubQuery SQL log, close #3437
|
2020-09-09 16:26:16 +08:00 |
Jinzhu
|
3cd81ff646
|
Fix query with specified table and conditions, close #3382
|
2020-09-03 18:42:32 +08:00 |
Jinzhu
|
677edf9d9e
|
ignore AS when alias table as it doesn't work on oracle db, close #3328
|
2020-08-29 22:09:07 +08:00 |
Jinzhu
|
ce8853e7a6
|
Add GormValuer interface support
|
2020-08-27 15:03:57 +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
|
2c4e857125
|
Should ignore association conditions when querying with struct
|
2020-08-13 18:09:04 +08:00 |
Jinzhu
|
dea93edb6a
|
Copy TableExpr when clone statement
|
2020-08-13 16:28:21 +08:00 |
Qt
|
f4cfa9411b
|
define err with the same code style (#3199)
|
2020-07-26 10:03:58 +08:00 |
Jinzhu
|
69d8111893
|
Fix panic when using invalid data, close #3193
|
2020-07-24 08:32:50 +08:00 |
Jinzhu
|
90183fadde
|
Allow advanced table with args
|
2020-07-19 21:30:24 +08:00 |
Jinzhu
|
de764d9e3d
|
Replace FullTable with TableExpr
|
2020-07-17 21:19:21 +08:00 |
Jinzhu
|
e77156980c
|
Fix panic when using Select/Omit Associations with no schema, close #3160
|
2020-07-17 15:50:17 +08:00 |
Jinzhu
|
4456df7a5d
|
Lint with golangci-lint
|
2020-07-16 11:27:12 +08:00 |
Jinzhu
|
d4b462a351
|
Fix alias keyword with Table, close #3104
|
2020-07-10 21:11:28 +08:00 |
Jinzhu
|
bba569af2b
|
Add NamedArg support
|
2020-07-10 12:28:24 +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
|
4e066c9590
|
Test Or
|
2020-07-05 12:23:45 +08:00 |
Jinzhu
|
1a2fabb34d
|
Test Not
|
2020-07-05 11:56:12 +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
|
9bfe306975
|
Only query with readable fields
|
2020-06-27 08:04:12 +08:00 |
Jinzhu
|
3d8f6f9cf9
|
Test GroupConditions
|
2020-06-20 01:55:30 +08:00 |
Jinzhu
|
2c1b04a2cf
|
Fix failed to create second record in same transaction, close #3060
|
2020-06-19 12:38:03 +08:00 |
Jinzhu
|
07960fe661
|
Fix []byte support
|
2020-06-18 11:24:08 +08:00 |
Jinzhu
|
56bdded0f8
|
Fix statement modifier support
|
2020-06-14 12:18:46 +08:00 |
Jinzhu
|
aaf0725771
|
Refactor for performance
|
2020-06-08 17:21:26 +08:00 |
Douglas Danger Manley
|
13f96f7a15
|
Spelling fix for "condtion" -> "condition" (#3042)
This fixes a spelling error in the word "condition"; in particular,
the `BuildCondtion` function should be named `BuildCondition`.
|
2020-06-08 11:38:51 +08:00 |
Jinzhu
|
6937d713c3
|
Refactor clauses
|
2020-06-06 22:52:08 +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
|
94685d1024
|
Fix can't scan null value into normal data types
|
2020-06-02 23:30:26 +08:00 |
Jinzhu
|
669ce48f19
|
Fix order by primary key if it is not defined
|
2020-06-02 11:30:21 +08:00 |
Jinzhu
|
e986371a42
|
Rename package name
|
2020-06-02 09:18:01 +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
|
dffc2713f0
|
Add mores tests for query
|
2020-06-01 10:54:32 +08:00 |
Jinzhu
|
5b1d3e4a77
|
Test Joins
|
2020-05-31 20:21:52 +08:00 |
Jinzhu
|
c291c2f42c
|
Add Scanner, Valuer tests
|
2020-05-30 21:05:27 +08:00 |
Jinzhu
|
9dd516a7e8
|
Test UpdateColumn
|
2020-05-30 17:34:22 +08:00 |
Jinzhu
|
d05128be78
|
OnConflict support for mysql
|
2020-05-29 22:34:35 +08:00 |
Jinzhu
|
55074213bc
|
Add SoftDelete support
|
2020-05-29 07:35:45 +08:00 |
Jinzhu
|
dca5244387
|
Add FirstOrCreate support
|
2020-05-28 16:21:10 +08:00 |
Jinzhu
|
ac8708b500
|
Add FirstOrInit support
|
2020-05-28 13:12:56 +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
|
bb68f0d6b3
|
Refactor tests
|
2020-05-23 16:08:50 +08:00 |
Jinzhu
|
b549f9bb9a
|
Implement preload support
|
2020-05-14 12:19:12 +08:00 |
Jinzhu
|
50aa9be4f1
|
Add joins support
|
2020-04-15 09:45:43 +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
|
9e8a4db36b
|
Use *gorm.DB to replace gorm.DB
|
2020-03-10 08:39:33 +08:00 |
Jinzhu
|
2a0c3e39f2
|
AddVar accept writer
|
2020-03-09 17:59:54 +08:00 |
Jinzhu
|
504f42760a
|
Refactor clause Writer
|
2020-03-09 17:07:00 +08:00 |
Jinzhu
|
3aa1891068
|
Add sync pool
|
2020-03-09 15:32:55 +08:00 |
Jinzhu
|
a145d7e019
|
Refactor structure
|
2020-03-09 14:25:50 +08:00 |
Jinzhu
|
078ba75b9c
|
Add QuoteTo method
|
2020-03-08 23:30:16 +08:00 |
Jinzhu
|
1403ee70c3
|
Make Query works
|
2020-03-03 14:18:12 +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
|
6d58b62fd4
|
Add sqlite migration tests
|
2020-02-22 20:57:29 +08:00 |
Jinzhu
|
62dcd7896a
|
Add Migrator
|
2020-02-20 23:04:03 +08:00 |
Jinzhu
|
98ad29f2c2
|
Add Selects, Omits for statement
|
2020-02-16 13:45:27 +08:00 |
Jinzhu
|
c1afe19728
|
Add benchmark tests for clause
|
2020-02-14 00:09:44 +08:00 |
Jinzhu
|
1f38ec4410
|
Finish clauses tests
|
2020-02-08 23:23:45 +08:00 |
Jinzhu
|
0160bab7dc
|
Add clause tests
|
2020-02-05 18:28:58 +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 |
Jinzhu
|
728c0d4470
|
Add callbacks
|
2020-02-02 20:05:10 +08:00 |
Jinzhu
|
d833efe8b9
|
Work on clauses
|
2020-02-02 19:11:17 +08:00 |
Jinzhu
|
9d5b9834d9
|
Refactor builder
|
2020-01-30 19:47:00 +08:00 |
Jinzhu
|
85bfd175c6
|
Implement build conditions
|
2020-01-30 03:03:06 +08:00 |
Jinzhu
|
b9cce2be6a
|
Add clause, DB API, model definition
|
2020-01-29 19:22:44 +08:00 |