Commit graph

10 commits

Author SHA1 Message Date
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
d197956271 Avoid unnecessary double wrapping of SELECT statement when used as single function parameter. 2021-10-21 13:40:26 +02:00
go-jet
b375733dfa Add schema rename support
Using SchemaFrom("schemaName") it is possible to set SQL builder table to point to a different schema.
2021-03-21 17:19:54 +01:00
go-jet
3019fdbbb2 [bug] Escape reserved words used as identifier. 2020-02-16 10:25:21 +01:00
go-jet
57aa62f483 Simplified creation of operator expression. 2019-12-07 18:54:30 +01:00
go-jet
4a3579e7f9 Postgres interval with date/time expression arithmetic. 2019-12-01 18:34:44 +01:00
go-jet
bf3ec27f68 REGEXP_LIKE refactor. 2019-08-15 11:10:02 +02:00
go-jet
ee4897a1e2 Jet internal refactor. 2019-08-11 14:29:03 +02:00
go-jet
647ef21aaf Dialect refactor improvements and clean up. 2019-08-06 10:29:04 +02:00