go-jet
2183af42f4
Add PostgreSQL-specific character type constructors: Text, Char, and VarChar.
2024-11-01 12:34:46 +01:00
go-jet
3fcbbec427
Add support for Row expression.
2024-10-17 14:17:22 +02:00
Vladimír Zahradník
11b0a6858a
Better json func, and tests
2022-06-04 14:22:33 +02:00
Vladimír Zahradník
0425e8895c
add postgres json literal
2022-06-04 14:12:08 +02:00
go-jet
c38d2fd2c3
Update README.md
2022-05-16 11:51:47 +02:00
go-jet
bc776f947b
Add support for CockorachDB.
2022-05-05 13:01:42 +02:00
go-jet
038a32b032
Add WITH RECURSIVE statement support
2022-01-04 18:08:06 +01: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
go-jet
f30cbb9e89
Add UUID helper function
...
UUID creates string literal expression from uuid object.
uuid can be any uuid type with a String method.
2021-05-11 13:20:07 +02:00
go-jet
92d02fef78
Add DECIMAL constructor for Float literal.
...
DECIMAL constructor is used to pass a decimal number to the SQL query without precision loss.
2021-05-09 16:25:54 +02:00
DevDevious
6b06bc6a37
Added unsigned integer literals.
2021-02-22 13:58:28 -05:00
go-jet
2ada2ff69b
Add go mod support.
2020-06-27 18:48:19 +02:00
go-jet
ab6d85f886
Postgres linter errors.
2019-08-17 14:49:35 +02:00
go-jet
614c7e9754
Literal and cast clean up.
2019-08-13 10:16:26 +02:00
go-jet
6ee2f45548
[New] Constructor for time types, that accepts time.Time. (TimeT, TimezT, DateT, ...)
2019-08-06 11:41:45 +02:00
go-jet
647ef21aaf
Dialect refactor improvements and clean up.
2019-08-06 10:29:04 +02:00