Commit graph

20 commits

Author SHA1 Message Date
34e5dcbb17
Switch to hosting on source.gleipnir.technology
All checks were successful
/ test (push) Successful in 3s
2026-05-14 16:26:47 +00:00
4474319e73
Bulk replace project references in go code 2026-05-09 01:43:40 +00:00
814ebddfa2
Add support for PostGIS Geometry columns
This is primarily an experiment. At this point I'm getting back the
Geometry as a GeoJSON blob, which is pretty massive progress, but I'm
still not able to manipulate the data directly the way I'd like.
2026-05-06 20:36:10 +00:00
2053415c76
Make it possible to add fully custom columns to table definition
This adds a few different fields to the column SQL builder that were
once either calculated or hard-coded:
 * Import - so you can import the column from anywhere
 * Type - fully, rather than partially, modifiable to allow any naming
   convention
 * TypeFactory - fully, rather than partially defined

I also alphabetized some things because the OCD compels me.
2026-05-06 16:26:38 +00:00
go-jet
4ee047a675 Add support for additional array types. 2025-10-16 15:09:07 +02:00
go-jet
45d4ced9b0 Merge branch 'arjen-ag5/master' into pg_arrays
# Conflicts:
#	generator/template/model_template.go
#	generator/template/sql_builder_template.go
#	internal/jet/expression.go
#	postgres/cast.go
#	postgres/columns.go
#	postgres/expressions.go
#	postgres/insert_statement_test.go
#	postgres/literal.go
#	tests/postgres/alltypes_test.go
#	tests/postgres/generator_template_test.go
#	tests/postgres/scan_test.go
#	tests/postgres/select_test.go
2025-10-16 13:44:18 +02:00
Arjen Brouwer
d3ada5361e Add support for postgres arrays 2025-10-16 13:32:18 +02:00
Josh Kaplinsky
436a72ae5c
feat: skip model and sql gen options in cli 2025-04-10 09:02:23 -04:00
go-jet
c94216ab0e Add support for blob expressions. 2025-02-28 18:23:15 +01:00
charlie
38ea65434f DefaultColumns() helper on Table 2025-02-06 09:34:22 +01:00
Alexander Trost
60ba05b6fb
feat: add generator skip option for table columns
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2025-01-07 22:30:15 +01:00
Jamius Siam
cab3cc63bf Replace path package with filepath 2024-11-26 15:40:34 +06:00
johnflynn
9f8732cd95 Updated sql_builder_template to check if column is in a conflicted column name array and renames to {col}_ if it is a conflicting name. Added unit tests. 2024-10-26 22:43:41 -04: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
6b098b8e41 Replace invalid character from the go identifiers with description string. 2024-02-17 12:46:00 +01:00
go-jet
7f48e9fb67 Add support for materialized views. 2024-02-01 15:20:49 +01:00
quirell
39f9996b34 Add DefaultAlias option to TableSQLBuilder 2023-08-02 10:03:59 +09:00
go-jet
d7a5adb239 Break utils package into subpackages. 2023-07-21 14:11:31 +02:00
go-jet
51cad22809 Add jet generator support for SQLite 2021-10-21 13:21:01 +02:00
go-jet
8864667f47 Add the ability to fully customize jet generated files. 2021-07-27 17:39:21 +02:00