gorm/clause
jasonchuan 9514d5f9e6
let limit and offset use bind parameter (#6806)
* let limit and offset use bind parameter

* format

* format limt_test

* try again

* fix test case fro connpool

* adding driverName for postgres  ,if not to do so, the stmt vars will be added  a wrong  one called pgx.QueryExecModeSimpleProtocol  ,  causing the SQL with limit  problem  need 1 parameter ,but given two.

* delete trunk files

* restore the test_test.go

* restore test_test.go

* driver/postgres->v1.5.5

* change postgres version rollback to 1.5.4

---------

Co-authored-by: chenchuan <chenchuan@360.cn>
Co-authored-by: jason_chuan <jason_chuan@126.com>
2024-02-06 10:54:40 +08:00
..
benchmarks_test.go fix: limit=0 results (#5735) (#5736) 2022-10-07 20:14:14 +08:00
clause.go Allow modify statement from dest 2023-02-02 17:15:08 +08:00
clause_test.go Refactor tests files 2020-06-02 10:50:38 +08:00
delete.go Refactor clause Writer 2020-03-09 17:07:00 +08:00
delete_test.go Rename package name 2020-06-02 09:18:01 +08:00
expression.go feat: reuse name (#6626) 2023-10-10 14:45:48 +08:00
expression_test.go fix(clause): when the value of clause.Eq is an empty array, the SQL should be IN (NULL) (#6503) 2023-08-10 13:34:33 +08:00
from.go Don't merge clause From 2020-07-15 10:25:10 +08:00
from_test.go Don't merge clause From 2020-07-15 10:25:10 +08:00
group_by.go Support Having w/o Group 2021-03-30 18:28:09 +08:00
group_by_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
insert.go Refactor clause Writer 2020-03-09 17:07:00 +08:00
insert_test.go Rename package name 2020-06-02 09:18:01 +08:00
joins.go test(clause/joins): add join unit test (#5832) 2022-11-03 21:03:13 +08:00
joins_test.go test(clause/joins): add join unit test (#5832) 2022-11-03 21:03:13 +08:00
limit.go let limit and offset use bind parameter (#6806) 2024-02-06 10:54:40 +08:00
limit_test.go let limit and offset use bind parameter (#6806) 2024-02-06 10:54:40 +08:00
locking.go Making locking parameters more intuitive (#6719) 2023-12-15 16:32:56 +08:00
locking_test.go Making locking parameters more intuitive (#6719) 2023-12-15 16:32:56 +08:00
on_conflict.go Fix OnConstraint builder (#5738) 2022-10-07 13:46:20 +08:00
order_by.go Support Expression for OrderBy clause 2020-11-03 10:30:05 +08:00
order_by_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
returning.go Add returning support to delete 2021-10-28 07:56:55 +08:00
returning_test.go Rename package name 2020-06-02 09:18:01 +08:00
select.go New Comma Expression (#4524) 2021-07-14 15:51:24 +08:00
select_test.go Issue 6054: Unscoped not working with PreLoad on Joins (#6058) 2023-02-18 09:06:43 +08:00
set.go Fix FullSaveAssociations, close #4874 2021-11-29 11:02:44 +08:00
set_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
update.go Refactor clause Writer 2020-03-09 17:07:00 +08:00
update_test.go Rename package name 2020-06-02 09:18:01 +08:00
values.go Add Count tests 2020-05-24 11:35:19 +08:00
values_test.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00
where.go Fix tests doesn't follow https://gorm.io/docs/method_chaining.html convention 2024-01-12 16:42:21 +08:00
where_test.go Fix tests doesn't follow https://gorm.io/docs/method_chaining.html convention 2024-01-12 16:42:21 +08:00
with.go ci: add gofumpt check in reviewdog (#4973) 2022-01-06 15:02:53 +08:00