Commit graph

50 commits

Author SHA1 Message Date
44d981fbfc
Update references to jet v2 in tests
I'm guessing people don't run these anymore...
2026-05-14 16:30:22 +00:00
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
go-jet
1fae6502b3 Add cockroachdb table comments. 2026-02-03 12:43:37 +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
k4n4ry
80b4ddd383 feat(qrm): support qrm:"optional" in strict field mapping 2026-01-12 18:24:20 +09:00
k4n4ry
f33c2ee357 feat: add StrictFieldMapping config 2025-12-30 20:53:31 +09:00
SanjaiyKumar
85fdfb01b3 Renamed new flags name '-tables', '-views', and '-enums'. 2025-06-24 14:09:30 +05:30
SanjaiyKumar
c35892320d Added unit test cases for the new flags '-allow-tables', '-allow-views', and '-allow-enums'. 2025-06-18 16:02:36 +05:30
go-jet
97f1b46352 Revert go version change and mariadb. 2025-03-09 18:22:31 +01: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
go-jet
5d2c232529 Add custom set returning function test. 2024-11-03 12:00:39 +01:00
go-jet
49104d1969
Merge pull request #416 from go-jet/stmt-cache2
Add support for prepared statement caching
2024-10-29 11:50:53 +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
houten11
595caaf661 Update go-sqlite3 driver to version v1.14.24 2024-10-18 12:06:01 +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
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
Andrew Harding
b7904cde4e Add HasDefault column metadata 2024-08-13 14:52:54 -06:00
go-jet
adfa331ece Merge remote-tracking branch 'upstream/master' into stmt-cache 2024-07-30 14:11:24 +02:00
go-jet
39de87671e Additional tests for 'ON CONFLICT DO NOTHING without conflict target does not appear in generated SQL' bug. 2024-03-24 13:02:23 +01:00
go-jet
0918e5503e Add support for prepared statement caching. 2024-03-07 18:01:31 +01:00
go-jet
dab153a739 Add support for NULLS_FIRST and NULLS_LAST sorting order. 2024-02-10 14:03:31 +01:00
go-jet
2eaa75345c [sqlite] Generated columns additional tests. 2024-02-04 18:45:48 +01:00
go-jet
71fb1c7cd1 Add support for sqlite generated columns. 2024-02-04 18:35:26 +01:00
go-jet
a428981a2d Expose internal jet.Rows type 2023-04-17 12:01:01 +02:00
go-jet
5e34bef288 Add more UseSchema tests.
Rename newly generated file to avoid potentional conflict with tables named table or views named view.
2023-04-02 13:58:44 +02:00
go-jet
7b36f31cad Include mysql column comments into generated types 2023-03-31 14:43:47 +02:00
go-jet
48b4725375 Update go-sqlite3 to version v1.14.16 2023-01-17 18:41:04 +01:00
Jay
04c1a51ba7 Changed SetSchema to UseSchema 2022-12-04 20:33:55 +05:30
Jay
7db99b10bc Made 'SetSchema' to be generated in a dedicated file for views and tables. 2022-12-02 23:02:44 +05:30
Jay
882d5562f3 added a check for skipping generation of table SQL builder code 2022-12-01 15:15:35 +05:30
go-jet
f93636eab0 Add missing sqlite conditional functions. 2022-08-17 13:03:03 +02:00
go-jet
bc776f947b Add support for CockorachDB. 2022-05-05 13:01:42 +02:00
fourdim
3aca063d57 Update generator tests 2022-03-18 11:18:22 +08: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
8eed0e209a Fix ident 2022-01-20 16:54:18 +01:00
go-jet
34f84c7170 Rename SetQueryLoggerFunc to SetQueryLogger 2022-01-20 16:51:32 +01:00
go-jet
04c14f29bf Add option for generator to ignore tables, views or enums. 2022-01-15 17:43:25 +01:00
go-jet
4955bfc4b5 Add automatic query logger function with additional execution details. 2022-01-12 19:03:50 +01:00
go-jet
a506a96d6a Add DISTINCT operator support 2022-01-10 16:43:17 +01:00
go-jet
038a32b032 Add WITH RECURSIVE statement support 2022-01-04 18:08:06 +01:00
go-jet
001d64f1dc Add BETWEEN operator support. 2022-01-04 17:58:10 +01:00
go-jet
72e8d7d584 Add FROM clause support for UPDATE statements 2021-12-08 18:13:58 +01:00
go-jet
84e120cbab Test fix. 2021-10-21 17:35:29 +02:00
go-jet
e8f4c2b31b Add SQLBuilder support for SQLite databases. 2021-10-21 13:40:26 +02:00