Commit graph

32 commits

Author SHA1 Message Date
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
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
97f1b46352 Revert go version change and mariadb. 2025-03-09 18:22:31 +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
go-jet
c94216ab0e Add support for blob expressions. 2025-02-28 18:23:15 +01:00
go-jet
7b16e432ff Add support for SELECT_JSON statements. 2025-02-21 19:55:01 +01:00
go-jet
d7a5adb239 Break utils package into subpackages. 2023-07-21 14:11:31 +02:00
go-jet
6706f4b228 [Bug] DebugSQL panics with libraries that do not implemente Stringer interface. 2022-05-14 11:17:39 +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
a5b7769589 Add RawStatement support
RawStatement method creates new sql statements from raw query and optional map of named arguments.
2021-05-15 11:54:41 +02:00
go-jet
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +02:00
go-jet
fb8607da29 Add support for WITH statements and Common Table Expressions. 2020-05-24 17:55:28 +02:00
go-jet
926b88ed40 Add reserved words for MySQL. 2020-05-02 22:15:38 +02:00
go-jet
14e1863456 [postgres] Add support for ON CONFLICT clause 2020-04-12 18:53:57 +02:00
go-jet
3019fdbbb2 [bug] Escape reserved words used as identifier. 2020-02-16 10:25:21 +01:00
go-jet
74725e8e11 Clean up. 2019-12-14 18:32:40 +01:00
go-jet
2487c48428 Fix linter errors. 2019-12-08 11:07:49 +01:00
go-jet
d1970b3a55 MySQL interval with date/time expression arithmetic. 2019-12-01 18:34:44 +01:00
go-jet
cbf98298bd Fix linter errors. 2019-09-20 20:04:17 +02:00
go-jet
1cc463477d Fix linter errors. 2019-09-20 19:54:56 +02:00
go-jet
f5287628aa Improve code coverage. 2019-09-20 13:55:07 +02:00
go-jet
a657b76bef The rest of linter errors. 2019-08-17 18:32:01 +02:00
go-jet
ec21a2ad35 Should quote identifier improvement. 2019-08-16 14:03:24 +02:00
go-jet
486e45db5c SQL Builder panics on invalid SQL.
Query execution panics on invalid destination.
2019-08-13 13:57:26 +02:00
go-jet
01f43d462a Sql builder clean up. 2019-08-11 18:57:40 +02:00
go-jet
736a650241 DebugSQL refactor. 2019-08-11 18:44:58 +02:00
go-jet
ee4897a1e2 Jet internal refactor. 2019-08-11 14:29:03 +02:00
go-jet
4fbf576370 MySQL refactor. 2019-08-11 12:13:59 +02:00
go-jet
8519ccbdd0 Postgres refactor. 2019-08-11 09:52:02 +02:00