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
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
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
0918e5503e
Add support for prepared statement caching.
2024-03-07 18:01:31 +01: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
2101088d0e
Add support for EXTRACT time/date function.
2022-05-06 11:54:44 +02:00
go-jet
bc776f947b
Add support for CockorachDB.
2022-05-05 13:01:42 +02:00
go-jet
dc557390b0
Test fix.
2022-02-09 13:49:37 +01:00
go-jet
5cbf4aac86
Add ability to change alias of all projections in the ProjectionList.
...
Add ability to exclude list of columns from ProjectionList.
2022-01-05 18:00:20 +01:00
go-jet
e8f4c2b31b
Add SQLBuilder support for SQLite databases.
2021-10-21 13:40:26 +02:00
go-jet
8864667f47
Add the ability to fully customize jet generated files.
2021-07-27 17:39:21 +02: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
7af9072b8d
Allow Raw helper to accept named arguments
2021-05-14 12:15:35 +02:00
go-jet
256be8a406
[BUG] Update statement reserved word not escaped
...
Update statement, using MODEL struct, now generates escaped SQL identifier if column name is reserved word.
2021-05-09 17:17:14 +02:00
go-jet
4ef0113f6b
Add implicit cross join support
2021-05-03 18:48:15 +02:00
go-jet
2ada2ff69b
Add go mod support.
2020-06-27 18:48:19 +02:00
go-jet
d19fdea86d
Additional MySQL WITH statement tests.
2020-06-01 20:30:09 +02:00
go-jet
5d742837f1
Use testify/require instead of testify/assert for tests.
2020-05-09 11:00:22 +02:00
go-jet
ebcbadef24
Add new typesafe SET operator for UPDATE statement.
2020-05-09 10:49:09 +02:00
go-jet
980b9b6aac
Add ON DUPLICATE KEY UPDATE support (MySQL).
2020-05-03 20:46:21 +02:00
go-jet
926b88ed40
Add reserved words for MySQL.
2020-05-02 22:15:38 +02:00
go-jet
241ea0d6d6
Gen files idempotence test clean up.
2020-04-13 10:18:14 +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
3efbb0ccd9
Replace gotest.tools with github.com/stretchr/testify.
2020-02-11 10:25:13 +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
29f43e5fe8
Rename execution package to qrm (Query Result Mapping).
2019-09-27 11:46:31 +02:00
go-jet
f5287628aa
Improve code coverage.
2019-09-20 13:55:07 +02:00
go-jet
b88519bfd4
[Feature] Add support for database views.
...
[Feature] Add support to manually set primary keys for destination structure fields.
2019-09-20 12:53:52 +02:00
go-jet
a657b76bef
The rest of linter errors.
2019-08-17 18:32:01 +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
614c7e9754
Literal and cast clean up.
2019-08-13 10:16:26 +02:00
go-jet
d3d00910aa
Test utils reuse.
2019-08-12 12:11:16 +02:00
go-jet
4c5584aaae
Update circle ci for MySQL tests.
2019-08-08 10:51:59 +02:00
go-jet
6ee2f45548
[New] Constructor for time types, that accepts time.Time. (TimeT, TimezT, DateT, ...)
2019-08-06 11:41:45 +02:00
go-jet
647ef21aaf
Dialect refactor improvements and clean up.
2019-08-06 10:29:04 +02:00
go-jet
23fd973699
Package structure refactor.
2019-08-03 14:10:47 +02:00
go-jet
7660bdd8b5
MySQL update statement tests.
2019-08-02 11:08:24 +02:00
go-jet
6af43f0c46
MySQL select statement tests.
2019-08-01 16:56:54 +02:00
go-jet
53dbcd9bfc
MySQL cast expressions.
2019-07-31 18:43:54 +02:00
go-jet
fcce8d4262
MySQL int expressions.
2019-07-31 13:02:30 +02:00
go-jet
163ecf4c42
MySQL float expressions.
2019-07-30 15:04:36 +02:00
go-jet
d0533f73fb
MySQL bool expressions.
2019-07-30 11:18:12 +02:00
go-jet
bffa102849
MySQL execution and scan support.
2019-07-29 18:08:53 +02:00