Jamius Siam
71ae4ed2e0
Fixed flag usage info
2024-11-26 16:37:42 +06:00
Jamius Siam
d22f3cff3d
Fixed flag names
2024-11-26 15:48:36 +06:00
Jamius Siam
cab3cc63bf
Replace path package with filepath
2024-11-26 15:40:34 +06:00
Jamius Siam
d6f1f28db8
Fixed cross-platform path compatibility
2024-11-24 21:41:52 +06:00
Jamius Siam
b08dd48c71
Updated tests for package customization CLI args
2024-11-23 00:32:44 +06:00
Jamius Siam
5add82eacb
Refactored CLI arguments
2024-11-23 00:32:44 +06:00
Jamius Siam
47fd02fb8d
Added test for the CLI flags for Model, Table, View and Enum
2024-11-22 21:15:09 +06:00
Jamius Siam
94412b797c
Added package name CLI flags for Model, Table, View and Enum
2024-11-22 21:15:09 +06:00
go-jet
3ca17766f7
Merge pull request #425 from jamius19/fix-local-tests
...
Fixed local test suite by syncing MySQL and MariaDB versions from CircleCI config
2024-11-22 14:38:03 +01:00
Jamius Siam
abb024a2ae
Synced MySQL and MariaDB version from CircleCI config
2024-11-21 18:54:00 +06:00
go-jet
5d2c232529
Add custom set returning function test.
2024-11-03 12:00:39 +01:00
go-jet
cf0923fdd3
Rollback some of the deleted postgres unsigned integer constructors.
2024-11-03 11:58:39 +01:00
go-jet
f8f2f75a0d
Merge pull request #419 from go-jet/str-constr
...
Add PostgreSQL-specific character type constructors: Text, Char, and VarChar
2024-11-02 11:31:54 +01:00
go-jet
2183af42f4
Add PostgreSQL-specific character type constructors: Text, Char, and VarChar.
2024-11-01 12:34:46 +01:00
go-jet
4f0832b0e7
Remove unused cast interface.
2024-11-01 12:30:37 +01:00
go-jet
aaf705d770
Add retry for cockroachdb init to avoid a concurrency issue in CockroachDB, specifically a TransactionRetryError.
2024-10-29 11:53:38 +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
bee431f870
Merge pull request #397 from BranislavLazic/add-pg-generate-series
...
Add Postgres GENERATE_SERIES function
2024-10-28 12:00:37 +01:00
go-jet
02f19ffca7
Merge pull request #418 from Neuman968/issue408Fix
...
Fix generating schema fails due to column name conflicts
2024-10-28 11:51:45 +01: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
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
e715b13615
Merge pull request #411 from houten11/update-dep
...
Update go-sqlite3 driver to version v1.14.24
2024-10-18 13:54:04 +02:00
houten11
595caaf661
Update go-sqlite3 driver to version v1.14.24
2024-10-18 12:06:01 +02:00
go-jet
369c657f85
Merge pull request #410 from go-jet/row-exp
...
Add support for ROW expressions and VALUES statement
2024-10-17 19:31:37 +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
go-jet
58a386a3dd
Merge pull request #407 from safaci2000/feature/scanners
...
Fixing various security issues and updating null_types to handle over…
2024-10-16 14:37:08 +02:00
Samir Faci
dbd23ed612
Addressing code review comments
2024-10-15 10:52:28 -04: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
go-jet
f9358ca8d2
Merge pull request #406 from safaci2000/feature/intervalSubmission
...
Improved support for intervals in postgres
2024-10-10 11:33:13 +02:00
Samir Faci
c0a0b450aa
Changing from Table Driven tests to subtests
2024-10-09 14:53:47 -04:00
Samir Faci
600e0a7ce7
Addressing code review comments and adding a query validation
2024-10-09 08:30:33 -04:00
Samir Faci
288ebdc373
Improved support for intervals in postgres
...
Fixes #393
2024-10-08 08:30:33 -04:00
go-jet
c30a3507e3
Fix build.
2024-10-07 20:23:25 +02:00
go-jet
31a6b9582a
Merge pull request #404 from safaci2000/feature/testTools
...
Replacing several test util function with a generic version
2024-10-07 20:07:55 +02:00
Samir Faci
a77ecc3a30
Addressing code review comments
2024-10-07 12:54:58 -04:00
Samir Faci
743df3ae7d
Updating mysql version to allow to run on OS X as well
2024-10-07 08:46:38 -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
Branislav Lazic
dfafd1482b
Add Postgres generate_series function
2024-09-29 14:55:05 +02:00
go-jet
d17ab3d080
Merge pull request #392 from VolkerLieber/master
...
Include postgres comments in output
2024-09-26 19:24:09 +02:00
Volker Lieber
b5f04ffea8
Improved postgres table comment generation
2024-09-26 14:33:23 +02:00
Volker Lieber
64884e4969
Extracted golang comment format function
2024-09-26 14:17:21 +02:00
Volker Lieber
30e02dc9c0
Implemented postgres generator comment tests
...
https://github.com/go-jet/jet-test-data/pull/6
2024-09-25 15:45:06 +02:00
Volker Lieber
0f21699a1f
Implemented postgres enum comment generation
2024-09-25 14:42:27 +02:00
Volker Lieber
ff82eb5df7
Implemented postgres table and enum comment generation
2024-09-24 20:41:27 +02:00
Volker Lieber
929109622e
Include postgres comments in output
...
#391
2024-09-24 13:23:47 +02:00
go-jet
6a0798eb06
Merge pull request #387 from safaci2000/feature/enums
...
Adding support for enum model AllValues
2024-09-23 20:03:19 +02:00
go-jet
1c42ff1b4f
Merge pull request #389 from BranislavLazic/add-pg-date-trunc
...
Add Postgres DATE_TRUNC function
2024-09-23 19:47:33 +02:00