Franco Liberali
8172ddb512
add from as valid clause for update ( #166 )
2023-10-08 10:47:42 +08:00
Samuel N Cui
139bd307e5
fix: AUTOINCREMENT flag cannot apply with PRIMARY KEY ( #167 )
...
* fix: AUTOINCREMENT flag cannot apply with PRIMARY KEY
* fix: migrator use ddl parser instead of regexp
2023-10-08 10:47:18 +08:00
Jinzhu
af1b82215d
Fix QuoteTo
2023-08-16 17:47:56 +08:00
black-06
cb2c532328
distinguish between schema.Time and tag time ( #133 )
...
fix https://github.com/go-gorm/gorm/issues/6033
2023-04-11 11:24:11 +08: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
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
Mikhail Faraponov
9ec45b1aed
Reduce allocations on Itoa conversion ( #85 )
2022-03-18 20:15:37 +08: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