Jinzhu
2a788fb20c
Upgrade tests go.mod
2022-10-17 17:01:42 +08:00
Jinzhu
88c26b62ee
Support Scopes in group conditions
2022-04-20 17:21:38 +08:00
Jin
9a4d10be64
style: fix coding typo ( #5184 )
2022-03-24 09:31:58 +08:00
codingxh
664c5fb767
strings.replace -> strings.replaceAll ( #5095 )
...
Co-authored-by: huquan<xxhh_quan_g@163.com>
2022-02-20 19:55:04 +08:00
Jinzhu
4eeb839cea
Better support Stringer when explain SQL
2022-02-09 15:17:25 +08:00
kinggo
b47cf57f5e
ci: add gofumpt check in reviewdog ( #4973 )
2022-01-06 15:02:53 +08:00
Jason Lee
8de266b4a7
Add ToSQL support to generate SQL string. ( #4787 )
...
* Add db.ToSQL method for generate SQL string.
* Improve sql builder test for all dialects.
Improve assertEqualSQL test helper for ignore quotes in SQL.
2021-11-01 17:08:54 +08:00
Jinzhu
a948c84607
Revert "Revert "Don't override the from clauses, close #4129" close #4139"
...
This reverts commit d6c23586ae
.
2021-03-05 22:19:34 +08:00
Jinzhu
d6c23586ae
Revert "Don't override the from clauses, close #4129" close #4139
...
This reverts commit 664755270d
.
2021-03-05 19:42:54 +08:00
Jinzhu
664755270d
Don't override the from clauses, close #4129
2021-03-04 19:16:08 +08:00
Jinzhu
9b2181199d
Fix soft delete with OrCondition, close #3627
2020-10-19 14:50:11 +08:00
Jinzhu
680dda2c15
Fix combine conditions when using string conditions, close #3358
2020-09-02 20:09:51 +08:00
Jinzhu
d4b462a351
Fix alias keyword with Table, close #3104
2020-07-10 21:11:28 +08:00
Jinzhu
de482f57ff
Test raw sql with gorm.Expr
2020-07-06 15:47:33 +08:00
Jinzhu
3d8f6f9cf9
Test GroupConditions
2020-06-20 01:55:30 +08:00
Jinzhu
d50879cc28
Add field permission test
2020-06-05 19:18:22 +08:00
Jinzhu
8bb05a5a69
Refactor tests files
2020-06-02 10:50:38 +08:00
Jinzhu
e986371a42
Rename package name
2020-06-02 09:18:01 +08:00
Jinzhu
dffc2713f0
Add mores tests for query
2020-06-01 10:54:32 +08:00
Jinzhu
749ca37eb0
Add sql builder test
2020-05-31 19:23:32 +08:00