Commit Graph

17 Commits

Author SHA1 Message Date
Сахнов Глеб Андреевич
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