go-jet
bc776f947b
Add support for CockorachDB.
2022-05-05 13:01:42 +02:00
go-jet
01305a138f
Add automatic type cast for integer literals
...
In parameterized statements integer literals, like Int(num), are replaced with a placeholders. For some expressions,
postgres interpreter will not have enough information to deduce the type. If this is the case postgres returns an error.
Int8, Int16, Int32.... functions now will add automatic type cast over a placeholder, so type deduction is always possible.
2021-12-26 17:29:43 +01:00
go-jet
22b2901336
Move RETURNING clause to internal/jet so it can be reused for sqlite implementation.
2021-10-21 13:40:26 +02:00
go-jet
3015b79926
Add test for - Special characters are not working in postgres password(for generator)
...
https://github.com/go-jet/jet/issues/95
2021-10-04 10:48:07 +02:00
go-jet
2ada2ff69b
Add go mod support.
2020-06-27 18:48:19 +02:00
go-jet
5d742837f1
Use testify/require instead of testify/assert for tests.
2020-05-09 11:00:22 +02:00
go-jet
980b9b6aac
Add ON DUPLICATE KEY UPDATE support (MySQL).
2020-05-03 20:46:21 +02:00
go-jet
14e1863456
[postgres] Add support for ON CONFLICT clause
2020-04-12 18:53:57 +02:00
go-jet
3efbb0ccd9
Replace gotest.tools with github.com/stretchr/testify.
2020-02-11 10:25:13 +01:00
go-jet
799737d602
[Breakable] ColumnList is reverted to be a slice.
...
ColumnList(...) -> ColumnList{...}
IColumnList is removed.
2019-09-26 12:31:03 +02:00
go-jet
486e45db5c
SQL Builder panics on invalid SQL.
...
Query execution panics on invalid destination.
2019-08-13 13:57:26 +02:00
go-jet
9a34dc9fd7
Handle todos.
2019-08-12 12:27:33 +02:00
go-jet
d3d00910aa
Test utils reuse.
2019-08-12 12:11:16 +02:00
go-jet
8519ccbdd0
Postgres refactor.
2019-08-11 09:52:02 +02:00