Commit graph

11 commits

Author SHA1 Message Date
go-jet
33c1d9e663 Reintroduce Uint64 literal constructor for postgres dialect. 2025-03-04 19:57:42 +01:00
go-jet
cf0923fdd3 Rollback some of the deleted postgres unsigned integer constructors. 2024-11-03 11:58:39 +01:00
go-jet
2183af42f4 Add PostgreSQL-specific character type constructors: Text, Char, and VarChar. 2024-11-01 12:34:46 +01:00
Vladimír Zahradník
11b0a6858a Better json func, and tests 2022-06-04 14:22:33 +02:00
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
9385f462df Allow Bytea literal constructor to accept byte array.
Bytea literal constructor now accepts string or []byte a a parameter.
2021-05-12 12:29:22 +02:00
DevDevious
6b06bc6a37 Added unsigned integer literals. 2021-02-22 13:58:28 -05:00
go-jet
4a3579e7f9 Postgres interval with date/time expression arithmetic. 2019-12-01 18:34:44 +01:00
go-jet
614c7e9754 Literal and cast clean up. 2019-08-13 10:16:26 +02:00
go-jet
647ef21aaf Dialect refactor improvements and clean up. 2019-08-06 10:29:04 +02:00