Commit Graph

27 Commits

Author SHA1 Message Date
gleb
02ba8bc4f7 Merge branch 'master' into orig 2022-10-15 20:54:38 +07:00
robhafner
22036f5c52 Fix condition for limit (#5735) (#118)
The limit clause should be included when the limit value is greater than or equal to zero.
2022-10-11 11:01:15 +08:00
glebarez
eaeb47d79f Merge branch 'orig' 2022-10-09 10:23:42 +07:00
Jinzhu
ea59bcf5bc Fix change limit.Limit type 2022-10-07 19:34:35 +08:00
robhafner
2609fe6c8e fix: limit=0 results (#5735) (#114) 2022-10-07 13:53:49 +08:00
glebarez
3f98605164 Merge branch 'master' into orig 2022-03-24 01:26:21 +03:00
Mikhail Faraponov
9ec45b1aed Reduce allocations on Itoa conversion (#85) 2022-03-18 20:15:37 +08:00
glebarez
ced515954a Revert "options: Wip"
This reverts commit 982975178e.
2022-01-11 15:29:59 +01:00
glebarez
0e863dbcc6 change dependencies to custom fork of gitlab.com/cznic/sqlite 2021-12-11 15:16:26 +01:00
glebarez
982975178e options: Wip 2021-12-08 14:49:08 +03:00
Сахнов Глеб Андреевич
7fe4fc9efd enable RETURNING functionality for Create opeartion due to bug fix in GORM (https://github.com/go-gorm/gorm/issues/4891) 2021-12-02 23:13:19 +03:00
Сахнов Глеб Андреевич
9878e66b9e temparal disable of RETURNING support due to Pragma bug (see tests) 2021-11-30 15:47:17 +03:00
Сахнов Глеб Андреевич
635978f5ce migrate to modernc.org/sqlite 2021-11-28 23:20:16 +03:00
kinggo
05a893e9c3 fixed:lower versions of sqlite do not support returning (#61)
* fixed:lower versions of sqlite do not support returning

* remove comments

* add default register

* remove c

* add delete returning

* fixed:lower versions of sqlite do not support returning

Co-authored-by: lilong21 <lilong21@jd.com>
Co-authored-by: 李龙 <lilong.21@bytedance.com>
2021-10-28 13:14:51 +08:00
Jinzhu
878397c91f Add returning support to delete 2021-10-28 09:14:21 +08:00
Jinzhu
d75839a606 Add returning support 2021-10-26 22:33:23 +08:00
Artemii Shepelev
930f2b0837 fixed a bug within LIMIT Clause Builder (#54)
* fixed a bug within LIMIT Clause Builder

* simplified logic

* whitespace before the OFFSET
2021-09-27 21:37:00 +08:00
Masashi SHIBATA
e1caf3738e Ignore FOR UPDATE and FOR SHARE clause (#20) 2020-10-29 12:06:14 +08:00
Deepak Kumar
a2ff836c49 take connection from dialector if available (#15) 2020-10-09 10:47:03 +08:00
Douglas Danger Manley
3ca308caa3 Allow custom drivers (#11)
Much like the `mysql` driver's `DriverName`, this allows you to
specify a custom driver for SQLite.  This is important when creating
custom functions, for example.
2020-09-24 15:49:52 +08:00
Jinzhu
4fe70a2cc5 Allow negative number for limit 2020-09-11 11:50:13 +08:00
Jinzhu
1e0d47b6e4 Customize INSERT builder 2020-08-06 17:09:42 +08:00
Jinzhu
41c818fc36 Allow quote column name with table name 2020-06-26 08:31:49 +08:00
Jinzhu
e25475866a Add DefaultValueOf 2020-06-20 14:47:39 +08:00
Jinzhu
c456636e68 Add SavePoint/RollbackTo 2020-06-19 18:25:13 +08:00
Jinzhu
6aadbd5348 Returns data type as db data type if nothing matched 2020-06-18 09:00:26 +08:00
Jinzhu
284b563f81 Initalize 2020-06-02 09:53:23 +08:00