41fe97d336
Fix the imports I botched really badly
...
Apparently I don't understand how go modules work.
2026-05-14 20:56:20 +00:00
34e5dcbb17
Switch to hosting on source.gleipnir.technology
/ 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
go-jet
a1d7684fc1
Make sure mysql select json object keys are escaped.
2026-05-04 12:34:29 +02:00
go-jet
7d31b406a9
Remove unused FunctionSerializeOverride parameter from dialect.
2026-02-02 13:55:22 +01: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
6cc4f0bc58
Fix for incorrect subquery column type.
2026-01-21 13:24:28 +01:00
go-jet
7d4aa4cdab
Fix for SELECT_JSON_ARR generates incorrect order by, limit and offset clauses for mariadb.
2026-01-16 14:11:22 +01:00
go-jet
4f81f5af63
Pre-allocate row slices.
2025-10-18 14:54:18 +02: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
Carson Krueger
94ce6424ce
add test
2025-08-07 22:53:41 -06:00
Carson Krueger
d3f8754cbf
add CamelToSnake
2025-08-07 08:48:53 -06:00
Andrei-hub11
1e075e0c3f
fix: correct rune handling in shouldQuoteIdentifier
2025-07-21 15:12:30 -03:00
Andrei-hub11
b6fa663315
fix: quote identifiers starting with numbers
2025-07-20 14:23:18 -03:00
go-jet
06530363f5
Merge pull request #458 from switchupcb/patch-1
...
remove redundant call in filesys RemoveDir
2025-03-16 18:50:17 +01:00
go-jet
4fcc99f48f
Add support for assigning one ColumnList to another in INSERT and UPDATE queries.
2025-03-13 13:05:35 +01:00
go-jet
85ea908285
Add support for exporting a ColumnList from a subquery.
2025-03-13 12:45:01 +01:00
SwitchUpCB
77dc0bcb57
remove unused
...
https://github.com/go-jet/jet/pull/458#discussion_r1986128416
2025-03-11 15:39:22 +00:00
go-jet
cfc264221b
Rename the parent pointer to root, as the pointer often references expression multiple layers above the current expression.
2025-03-09 19:06:17 +01:00
go-jet
97f1b46352
Revert go version change and mariadb.
2025-03-09 18:22:31 +01:00
go-jet
950b33191e
Remove QueryJson statements method to avoid potential misuse.
2025-03-09 17:46:34 +01:00
go-jet
12c96116d0
Remove 3rdparty/json.
2025-03-08 19:09:58 +01: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
SwitchUpCB
ec4bf00276
remove redudant call in filesys RemoveDir
2025-03-06 16:33:14 -06:00
go-jet
27e6cc1604
Tests fix.
2025-03-01 18:23:27 +01:00
go-jet
c94216ab0e
Add support for blob expressions.
2025-02-28 18:23:15 +01:00
go-jet
f20bf50879
Support additional unmarshal formats.
...
- Additional time formats supported
- Support for hex format binary string unmarshal
- Support for base64 format with prefix
- Support for unmarshalling "0" and "1" to boolean value
2025-02-22 18:28:25 +01:00
go-jet
c93c9f2888
Add encoding/json from standard library
2025-02-21 19:58:26 +01:00
go-jet
7b16e432ff
Add support for SELECT_JSON statements.
2025-02-21 19:55:01 +01:00
go-jet
5f220569dd
Add support for prepared statements caching.
2024-10-29 11:44:38 +01:00
go-jet
4bb9775134
Merge remote-tracking branch 'upstream/master' into stmt-cache2
...
# Conflicts:
# tests/postgres/alltypes_test.go
# tests/postgres/northwind_test.go
# tests/postgres/sample_test.go
# tests/postgres/update_test.go
# tests/sqlite/insert_test.go
# tests/sqlite/main_test.go
# tests/sqlite/sample_test.go
# tests/sqlite/update_test.go
2024-10-19 14:01:55 +02:00
go-jet
8d112f7db8
Add support for VALUES statement.
2024-10-17 14:17:22 +02:00
go-jet
3fcbbec427
Add support for Row expression.
2024-10-17 14:17:22 +02:00
Samir Faci
f7082eda68
Adding gosec and lint, fixing null_type overflow
...
ChangeLog:
- Adding gosec linting
- Adding static type to enum
- fixing nulltype overflow
- Trying out gotestsum as an alternative to go-junit-report.xml
2024-10-14 11:06:59 -04:00
Samir Faci
288ebdc373
Improved support for intervals in postgres
...
Fixes #393
2024-10-08 08:30:33 -04:00
Samir Faci
c2703558d7
Moving PtrOf to package internal/ptr
2024-10-06 09:04:10 -04:00
Samir Faci
99be328e9d
Replacing several test util function with a generic version
...
ChangeLog:
- updated several test utils with a generic PtrOf
- updated references using iotils (Deprecated) with os equivalent import.
2024-10-05 13:13:55 -04:00
go-jet
adfa331ece
Merge remote-tracking branch 'upstream/master' into stmt-cache
2024-07-30 14:11:24 +02:00
Yosyp Buchma
583ecba4a1
refactor: extracted common logic for column aliasing
2024-07-26 23:35:07 +02:00
Yosyp Buchma
c599fca5ea
New method: func (ColumnList) As(tableAlias string) ProjectionList
2024-07-26 14:10:20 +02:00
Yosyp Buchma
fb66fbd31c
fix ProjectionList{}.As method (issue #364 )
2024-07-26 14:10:20 +02:00
Mathieu Kooiman
3ec0e2cabd
refactor: NewCustomExpression -> CustomExpression
2024-07-13 17:04:33 +02:00
Mathieu Kooiman
f48970d124
refactor: expose NewCustomExpression for dialects to use
2024-07-12 14:09:17 +02:00
Karl Blomster
1d310624d8
Export BinaryOperator function
2024-03-26 15:49:17 +01:00
go-jet
0918e5503e
Add support for prepared statement caching.
2024-03-07 18:01:31 +01: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