Commit graph

29 commits

Author SHA1 Message Date
4474319e73
Bulk replace project references in go code 2026-05-09 01:43:40 +00:00
go-jet
0e495a279e Simplify literal expressions. 2026-02-02 13:21:35 +01:00
go-jet
4995a90483 Simplify construction of new expressions.
Fixes: IS_NOT_NULL() does not always add enough parentheses to the compiled SQL #500
2026-02-02 13:18:19 +01:00
go-jet
89e93710aa Additional tests. 2025-10-17 13:41:08 +02:00
go-jet
4ee047a675 Add support for additional array types. 2025-10-16 15:09:07 +02:00
go-jet
17646ca99c Encode json values implicitly in the sql queries according the golang json package spec. 2025-03-08 19:01:37 +01:00
go-jet
c94216ab0e Add support for blob expressions. 2025-02-28 18:23:15 +01:00
go-jet
bee431f870
Merge pull request #397 from BranislavLazic/add-pg-generate-series
Add Postgres GENERATE_SERIES function
2024-10-28 12:00:37 +01:00
go-jet
8d112f7db8 Add support for VALUES statement. 2024-10-17 14:17:22 +02:00
Branislav Lazic
dfafd1482b Add Postgres generate_series function 2024-09-29 14:55:05 +02:00
Branislav Lazic
dce5fd6552 Add return type switching note 2024-09-23 09:11:53 +02:00
Branislav Lazic
b25b2aa213 Add Postgres DATE_TRUNC function 2024-09-20 09:47:40 +02:00
go-jet
43fc77ba99 Range expression update
* Add Int4 and Int8 integer expression to distinguish int4range and int8range types
* Add range functions to range expressions to avoid go template appearing in sql
* Compact range integration tests and add range update tests
2024-02-27 10:48:57 +01:00
Sarkan
893567daca
Range types implemented
plus and minus infinity keyword tests implemented

range table tests added

skip cockroach db added

select test case added for range fields

generator modified to generate correct types

generator tests modified to include sample range table

model and template generators modified to support range fields

returning the T in UPPER and LOWER functions

raw ranges implemented

bounds set as optional

dep modified

dependencies modified and issue fixed

range expression with templates implemented

rangeExpression change to make it more type safe

third parameter of constructor function fixed

literals removed, functions added

tests modified

constructor functions used for creating range expressions

NumRange converted to a constructor function from literal

range_lower and range_upper renamed to lower_bound and upper_bound

range literal removed

PlusInfinity and MinusInfinity implemented

int4 and int8 castings added

issues fixed and tests checked

number, ts, tstz literal and cast implemented

date range literal expression modified and raw function used

parent type converted from RangeExpression to Expression

range type implemented for postgres

range column type, function and literal expression implemented

CONTAINS and OVERLAP operations added for range expressions

range expressions implemented
2024-02-25 01:20:36 +01:00
go-jet
fa69565dbf Add support for postgres GROUPING SET, ROLLUP and CUBE grouping operators
Add support for mysql WITH ROLLUP grouping operator
Add support for GROUPING operator
2023-03-28 13:16:57 +02:00
go-jet
a2ea1892e5 Go fmt. 2022-08-23 12:38:16 +02:00
go-jet
2101088d0e Add support for EXTRACT time/date function. 2022-05-06 11:54:44 +02:00
go-jet
9f91fd705a Global AND and OR functions for better indentation of a complex condition in the Go code and in the generated SQL. 2022-02-11 13:09:49 +01:00
go-jet
605f1c8e3d [Postgres] Add order set aggregate functions support. 2022-01-18 19:18:00 +01:00
go-jet
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +02:00
go-jet
8aa894730c [PostgreSQL] Add support for WITH statements and Common Table Expressions. 2020-05-24 17:56:17 +02:00
go-jet
f8daa1d76e Some linter errors. 2019-10-18 10:09:56 +02:00
go-jet
e09c78dec3 New MIN/MAX functions that accepts any expression type. 2019-09-30 14:42:04 +02:00
go-jet
5ba10d35db Added support for window clause and functions. 2019-09-17 13:34:47 +02:00
go-jet
ab6d85f886 Postgres linter errors. 2019-08-17 14:49:35 +02:00
go-jet
bf3ec27f68 REGEXP_LIKE refactor. 2019-08-15 11:10:02 +02:00
go-jet
4ab9d73a8b Functions go doc. 2019-08-14 10:11:43 +02:00
go-jet
8519ccbdd0 Postgres refactor. 2019-08-11 09:52:02 +02:00
go-jet
647ef21aaf Dialect refactor improvements and clean up. 2019-08-06 10:29:04 +02:00
Renamed from postgres/postgres_functions.go (Browse further)