Commit graph

  • 47fd02fb8d Added test for the CLI flags for Model, Table, View and Enum Jamius Siam 2024-11-21 18:12:54 +06:00
  • 94412b797c Added package name CLI flags for Model, Table, View and Enum Jamius Siam 2024-11-21 00:48:12 +06:00
  • 3ca17766f7
    Merge pull request #425 from jamius19/fix-local-tests go-jet 2024-11-22 14:38:03 +01:00
  • abb024a2ae Synced MySQL and MariaDB version from CircleCI config Jamius Siam 2024-11-21 18:47:55 +06:00
  • 5d2c232529 Add custom set returning function test. go-jet 2024-11-03 12:00:39 +01:00
  • cf0923fdd3 Rollback some of the deleted postgres unsigned integer constructors. go-jet 2024-11-03 11:58:39 +01:00
  • f8f2f75a0d
    Merge pull request #419 from go-jet/str-constr go-jet 2024-11-02 11:31:54 +01:00
  • 2183af42f4 Add PostgreSQL-specific character type constructors: Text, Char, and VarChar. go-jet 2024-11-01 12:34:46 +01:00
  • 4f0832b0e7 Remove unused cast interface. go-jet 2024-11-01 12:30:37 +01:00
  • aaf705d770 Add retry for cockroachdb init to avoid a concurrency issue in CockroachDB, specifically a TransactionRetryError. go-jet 2024-10-29 11:53:38 +01:00
  • 49104d1969
    Merge pull request #416 from go-jet/stmt-cache2 go-jet 2024-10-29 11:50:53 +01:00
  • 5f220569dd Add support for prepared statements caching. go-jet 2024-10-19 14:06:12 +02:00
  • bee431f870
    Merge pull request #397 from BranislavLazic/add-pg-generate-series go-jet 2024-10-28 12:00:37 +01:00
  • 02f19ffca7
    Merge pull request #418 from Neuman968/issue408Fix go-jet 2024-10-28 11:51:45 +01:00
  • 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. johnflynn 2024-10-26 22:40:49 -04:00
  • 4bb9775134 Merge remote-tracking branch 'upstream/master' into stmt-cache2 go-jet 2024-10-19 14:01:55 +02:00
  • e715b13615
    Merge pull request #411 from houten11/update-dep go-jet 2024-10-18 13:54:04 +02:00
  • 595caaf661 Update go-sqlite3 driver to version v1.14.24 houten11 2024-10-18 12:06:01 +02:00
  • 369c657f85
    Merge pull request #410 from go-jet/row-exp go-jet 2024-10-17 19:31:37 +02:00
  • 8d112f7db8 Add support for VALUES statement. go-jet 2024-10-17 14:12:21 +02:00
  • 3fcbbec427 Add support for Row expression. go-jet 2024-10-06 14:21:42 +02:00
  • 58a386a3dd
    Merge pull request #407 from safaci2000/feature/scanners go-jet 2024-10-16 14:37:08 +02:00
  • dbd23ed612 Addressing code review comments Samir Faci 2024-10-15 08:54:28 -04:00
  • f7082eda68 Adding gosec and lint, fixing null_type overflow Samir Faci 2024-10-08 10:17:25 -04:00
  • f9358ca8d2
    Merge pull request #406 from safaci2000/feature/intervalSubmission go-jet 2024-10-10 11:33:13 +02:00
  • c0a0b450aa Changing from Table Driven tests to subtests Samir Faci 2024-10-09 14:53:47 -04:00
  • 600e0a7ce7 Addressing code review comments and adding a query validation Samir Faci 2024-10-09 08:30:33 -04:00
  • 288ebdc373 Improved support for intervals in postgres Samir Faci 2024-10-07 15:02:12 -04:00
  • c30a3507e3 Fix build. go-jet 2024-10-07 20:23:25 +02:00
  • 31a6b9582a
    Merge pull request #404 from safaci2000/feature/testTools go-jet 2024-10-07 20:07:55 +02:00
  • a77ecc3a30 Addressing code review comments Samir Faci 2024-10-07 12:54:15 -04:00
  • 743df3ae7d Updating mysql version to allow to run on OS X as well Samir Faci 2024-10-07 08:42:44 -04:00
  • c2703558d7 Moving PtrOf to package internal/ptr Samir Faci 2024-10-06 09:04:10 -04:00
  • 99be328e9d Replacing several test util function with a generic version Samir Faci 2024-10-05 12:32:03 -04:00
  • dfafd1482b Add Postgres generate_series function Branislav Lazic 2024-09-29 14:55:05 +02:00
  • d17ab3d080
    Merge pull request #392 from VolkerLieber/master go-jet 2024-09-26 19:24:09 +02:00
  • b5f04ffea8 Improved postgres table comment generation Volker Lieber 2024-09-26 14:33:23 +02:00
  • 64884e4969 Extracted golang comment format function Volker Lieber 2024-09-26 14:17:21 +02:00
  • 30e02dc9c0 Implemented postgres generator comment tests Volker Lieber 2024-09-25 15:45:06 +02:00
  • 0f21699a1f Implemented postgres enum comment generation Volker Lieber 2024-09-25 14:42:27 +02:00
  • ff82eb5df7 Implemented postgres table and enum comment generation Volker Lieber 2024-09-24 20:41:27 +02:00
  • 929109622e Include postgres comments in output Volker Lieber 2024-09-23 20:34:34 +02:00
  • 6a0798eb06
    Merge pull request #387 from safaci2000/feature/enums go-jet 2024-09-23 20:03:19 +02:00
  • 1c42ff1b4f
    Merge pull request #389 from BranislavLazic/add-pg-date-trunc go-jet 2024-09-23 19:47:33 +02:00
  • dce5fd6552 Add return type switching note Branislav Lazic 2024-09-23 09:11:53 +02:00
  • d3ce39f275 Reverting circleci docker-compose Samir Faci 2024-09-22 16:04:11 -04:00
  • 4f80e0d36b Addressing Code review comments Samir Faci 2024-09-22 09:44:13 -04:00
  • b25b2aa213 Add Postgres DATE_TRUNC function Branislav Lazic 2024-09-20 09:47:40 +02:00
  • eb57b8003f Migrating circleci images from legacy to update cimg namespace Samir Faci 2024-09-18 12:20:08 -04:00
  • 42a37c09d0 Adding support for enum model AllValues Samir Faci 2024-09-18 12:09:43 -04:00
  • b835e25665
    Merge pull request #377 from realrunner/bug/postgres-array-detection go-jet 2024-08-31 11:20:57 +02:00
  • cf08bcd6f7 spacing Mike Nelson 2024-08-28 11:46:35 -06:00
  • 52df659318 test Mike Nelson 2024-08-28 11:45:44 -06:00
  • 882b4311b5 Fix Postgres column array detection Mike Nelson 2024-08-28 11:09:16 -06:00
  • 02cc2127b8
    Merge pull request #374 from azdagron/add-has-default go-jet 2024-08-17 19:31:23 +02:00
  • b7904cde4e Add HasDefault column metadata Andrew Harding 2024-08-13 14:52:54 -06:00
  • adfa331ece Merge remote-tracking branch 'upstream/master' into stmt-cache go-jet 2024-07-30 14:11:24 +02:00
  • f55edafc0b
    Merge pull request #367 from josephbuchma/projection-as-fix go-jet 2024-07-27 11:30:20 +02:00
  • 583ecba4a1 refactor: extracted common logic for column aliasing Yosyp Buchma 2024-07-26 14:51:45 +02:00
  • c599fca5ea New method: func (ColumnList) As(tableAlias string) ProjectionList Yosyp Buchma 2024-07-25 17:09:52 +02:00
  • fb66fbd31c fix ProjectionList{}.As method (issue #364) Yosyp Buchma 2024-07-20 16:49:49 +02:00
  • f37af464f4
    Merge pull request #340 from go-jet/dependabot/go_modules/github.com/go-sql-driver/mysql-1.8.1 go-jet 2024-07-26 13:53:22 +02:00
  • df548e69b6
    Merge pull request #361 from mathieuk/chore/export-serializer go-jet 2024-07-14 13:14:58 +02:00
  • 6cabfcdc1a feat: expose CustomExpression+Token in mysql/postgres/sqlite Mathieu Kooiman 2024-07-13 17:10:26 +02:00
  • 3ec0e2cabd refactor: NewCustomExpression -> CustomExpression Mathieu Kooiman 2024-07-13 17:04:33 +02:00
  • f48970d124 refactor: expose NewCustomExpression for dialects to use Mathieu Kooiman 2024-07-12 14:09:17 +02:00
  • 093f895db2 Fix failing test. go-jet 2024-07-03 11:56:59 +02:00
  • 7b4a060da0
    Merge pull request #344 from go-jet/dependabot/go_modules/github.com/shopspring/decimal-1.4.0 go-jet 2024-07-03 11:38:37 +02:00
  • 172a822d96
    Bump github.com/shopspring/decimal from 1.3.1 to 1.4.0 dependabot[bot] 2024-04-12 21:16:21 +00:00
  • b13f6ab08d
    Merge pull request #339 from kblomster/expose-binary-operator go-jet 2024-03-28 18:04:01 +01:00
  • 523f780b02
    Bump github.com/go-sql-driver/mysql from 1.8.0 to 1.8.1 dependabot[bot] 2024-03-26 21:49:42 +00:00
  • 1d310624d8
    Export BinaryOperator function Karl Blomster 2024-03-26 15:49:17 +01:00
  • 1fd423bf8b Update dependencies. go-jet 2024-03-24 13:25:08 +01:00
  • c6fccc3348 Update dependencies. go-jet 2024-03-24 13:12:07 +01:00
  • 39de87671e Additional tests for 'ON CONFLICT DO NOTHING without conflict target does not appear in generated SQL' bug. go-jet 2024-03-24 13:02:23 +01:00
  • 60d8f15513
    Merge pull request #335 from BillBuilt/on-conflict-do-nothing-without-conflict-target go-jet 2024-03-24 12:41:35 +01:00
  • 0d250f5b41 ON CONFLICT DO NOTHING without a conflict target is valid SQL as far as Postgres is concerned. bill matlock 2024-03-18 16:38:28 -04:00
  • 0918e5503e Add support for prepared statement caching. go-jet 2024-03-07 18:01:31 +01:00
  • 1b63280b74 Skip UUID_TO_BIN test for MariaDB. go-jet 2024-02-27 11:23:34 +01:00
  • 16d0e57441 Add UUID_TO_BIN integration test. go-jet 2024-02-27 11:11:37 +01:00
  • 4094029bfb Skip range test for cockroachdb. go-jet 2024-02-27 10:58:21 +01:00
  • 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 go-jet 2024-02-27 10:48:57 +01:00
  • 9d45aaaba5
    Merge pull request #327 from go-jet/dependabot/go_modules/golang.org/x/crypto-0.17.0 go-jet 2024-02-26 11:56:26 +01:00
  • 084f62a475
    Bump golang.org/x/crypto from 0.6.0 to 0.17.0 dependabot[bot] 2024-02-26 10:52:25 +00:00
  • 55ed439358 Update Readme. go-jet 2024-02-26 11:40:23 +01:00
  • 7b9a60876e Lower go.mod version. go-jet 2024-02-26 11:35:54 +01:00
  • f9f82680fe
    Merge pull request #307 from ag5/feature/daterange go-jet 2024-02-26 11:29:21 +01:00
  • 893567daca
    Range types implemented Sarkan 2024-01-31 15:30:09 +01:00
  • a9cbf94d68
    Merge pull request #325 from realbucksavage/master go-jet 2024-02-23 17:27:00 +01:00
  • 33ec120437 replaced the UUIDToBin functions with a singular UUID_TO_BIN Jay 2024-02-22 17:23:14 +05:30
  • 09fe45b09c mysql: added a helper to compare UUID strings with uuid_to_bin Jay 2024-02-20 23:56:11 +05:30
  • 493d3a4a25
    Merge pull request #309 from jupp0r/feature/optimize-mysql-generator-performance go-jet 2024-02-19 11:33:57 +01:00
  • bffec36917
    Improve performance of mysql generator Jupp Mueller 2024-02-03 14:35:28 -08:00
  • 61841dcfbe
    Merge pull request #316 from go-jet/dependabot/go_modules/github.com/google/uuid-1.6.0 go-jet 2024-02-17 13:06:10 +01:00
  • 6b098b8e41 Replace invalid character from the go identifiers with description string. go-jet 2024-02-17 12:46:00 +01:00
  • 255f4a8eaf Add support for expression in OFFSET clause. go-jet 2024-02-13 14:01:13 +01:00
  • dab153a739 Add support for NULLS_FIRST and NULLS_LAST sorting order. go-jet 2024-02-10 14:03:31 +01:00
  • 12faa55c52
    Bump github.com/google/uuid from 1.3.0 to 1.6.0 dependabot[bot] 2024-02-07 21:22:43 +00:00
  • 0fc51cf402
    Merge pull request #230 from go-jet/dependabot/go_modules/github.com/go-sql-driver/mysql-1.7.1 go-jet 2024-02-07 11:28:19 +01:00
  • f5f744a884
    Merge pull request #253 from go-jet/dependabot/go_modules/github.com/jackc/pgconn-1.14.1 go-jet 2024-02-07 11:27:49 +01:00