Commit graph

  • f772f90336 [MySQL] Optimizer hints go-jet 2022-09-29 13:33:00 +02:00
  • c9967d151e
    Merge pull request #175 from Hoonyyhoon/fix/add_omitted go-jet 2022-09-07 10:43:41 +02:00
  • 16c9ee428e Add omitted reserved word 'right' on postgresql Stefan 2022-09-07 00:51:24 +09:00
  • a2ea1892e5 Go fmt. go-jet 2022-08-23 12:38:16 +02:00
  • 4e1ff65023 [MySQL] Add NEW alias for the rows to be inserted. go-jet 2022-08-23 12:23:46 +02:00
  • c264529e95
    Merge pull request #171 from nkonin/fix/ColumnTimez-missing-SET-method go-jet 2022-08-19 14:51:17 +02:00
  • 92254c35df add missing SET method to ColumnTimez interface Nikita Konin 2022-08-18 13:21:34 +03:00
  • f93636eab0 Add missing sqlite conditional functions. go-jet 2022-08-17 13:03:03 +02:00
  • bdbbc4d58d Merge branch 'develop' of https://github.com/go-jet/jet into develop go-jet 2022-08-16 12:49:58 +02:00
  • b4a0964fce Update badge links. go-jet 2022-08-16 12:47:52 +02:00
  • 879c2eb7e7
    Merge pull request #161 from wexder/master go-jet 2022-06-06 11:04:40 +02:00
  • 11b0a6858a Better json func, and tests Vladimír Zahradník 2022-06-04 14:22:33 +02:00
  • 0425e8895c add postgres json literal Vladimír Zahradník 2022-06-04 14:12:08 +02:00
  • 5a0d05273a
    Merge pull request #159 from kblomster/mysql-comparison-functions go-jet 2022-06-04 12:10:13 +02:00
  • 792f89a857
    mysql: export some conditional functions Karl Blomster 2022-06-03 16:11:24 +02:00
  • e7257ff5fa
    Bump github.com/google/uuid from 1.1.1 to 1.3.0 dependabot[bot] 2022-05-17 21:40:52 +00:00
  • 38b6caf41e
    Merge pull request #153 from go-jet/develop go-jet 2022-05-17 11:45:06 +02:00
  • 4b720d6a73 Add multi-tenant table WithPrefix, WithSuffix tests. go-jet 2022-05-17 11:10:20 +02:00
  • 01f409bab1 Add multi-tenant table WithPrefix, WithSuffix tests. go-jet 2022-05-17 11:09:29 +02:00
  • c38d2fd2c3 Update README.md go-jet 2022-05-16 11:51:47 +02:00
  • 6706f4b228 [Bug] DebugSQL panics with libraries that do not implemente Stringer interface. go-jet 2022-05-14 11:17:39 +02:00
  • 7567206ac0 Update dependencies. go-jet 2022-05-13 14:49:11 +02:00
  • 5561de10dd Merge remote-tracking branch 'upstream/master' into develop go-jet 2022-05-13 14:20:56 +02:00
  • 3b0285cc4b [Bug] Statement Query and Exec methods can not be used with sql.Conn go-jet 2022-05-13 14:04:11 +02:00
  • 84dbda5948 Improve doc. go-jet 2022-05-13 13:46:41 +02:00
  • 29c523f381 Generator code cleanup. go-jet 2022-05-13 13:45:41 +02:00
  • 2101088d0e Add support for EXTRACT time/date function. go-jet 2022-05-06 11:54:44 +02:00
  • bc776f947b Add support for CockorachDB. go-jet 2022-05-05 13:01:42 +02:00
  • 6babd43e3a
    Merge pull request #143 from go-jet/dependabot/go_modules/github.com/jackc/pgx/v4-4.16.0 go-jet 2022-05-05 11:41:30 +02:00
  • 632a663bad
    Bump github.com/jackc/pgx/v4 from 4.11.0 to 4.16.0 dependabot[bot] 2022-05-05 09:36:23 +00:00
  • 46ed317907
    Merge pull request #134 from go-jet/dependabot/go_modules/github.com/lib/pq-1.10.5 go-jet 2022-05-05 11:35:38 +02:00
  • 4f2b63923c
    Merge pull request #131 from go-jet/dependabot/go_modules/github.com/google/go-cmp-0.5.7 go-jet 2022-04-24 17:30:47 +02:00
  • 3ff9241eea
    Merge pull request #138 from nkonin/fix/dsn-ignore-tables go-jet 2022-04-14 10:52:30 +02:00
  • 971e2df442 fix -ignore-tables, -ignore-enums and -ignore-views when -dsn is present Nikita Konin 2022-04-13 20:47:56 +03:00
  • f17d05e823
    Create codeql-analysis.yml go-jet 2022-04-10 11:52:50 +02:00
  • 9ac8ebdb99
    Bump github.com/lib/pq from 1.7.0 to 1.10.5 dependabot[bot] 2022-04-10 09:43:48 +00:00
  • 192efa3436
    Bump github.com/google/go-cmp from 0.5.0 to 0.5.7 dependabot[bot] 2022-04-10 09:43:26 +00:00
  • 3d6d65fb77
    Create dependabot.yml go-jet 2022-04-10 11:42:59 +02:00
  • 47a554d771
    Merge pull request #126 from fourdim/tenant go-jet 2022-03-18 11:42:32 +01:00
  • 3aca063d57 Update generator tests fourdim 2022-03-18 11:18:22 +08:00
  • 87cc6c9e93 add table prefix and suffix for multi-tenant environment support This closes #125. fourdim 2022-03-16 22:47:34 +08:00
  • c29f0afd2b
    Merge pull request #120 from go-jet/develop go-jet 2022-02-14 12:54:08 +01:00
  • 9f91fd705a Global AND and OR functions for better indentation of a complex condition in the Go code and in the generated SQL. go-jet 2022-02-11 13:09:49 +01:00
  • 8ffbe38993 Update Readme. go-jet 2022-02-11 12:49:54 +01:00
  • dc557390b0 Test fix. go-jet 2022-02-09 12:41:58 +01:00
  • c86903fd1d Additional scan performance improvements go-jet 2022-02-09 12:34:10 +01:00
  • c10244aeab Improve Rows scan performance go-jet 2022-02-04 12:31:08 +01:00
  • 3e802f8955
    Merge pull request #116 from go-jet/develop go-jet 2022-01-20 17:41:34 +01:00
  • 4f29960378 Add custom function call test. go-jet 2022-01-20 17:07:29 +01:00
  • 911cab333b Fix TestDeleteWithUsing test. go-jet 2022-01-20 17:06:03 +01:00
  • 50a1e2f45c Update generator usage. go-jet 2022-01-20 16:54:53 +01:00
  • 8eed0e209a Fix ident go-jet 2022-01-20 16:54:18 +01:00
  • 34f84c7170 Rename SetQueryLoggerFunc to SetQueryLogger go-jet 2022-01-20 16:51:32 +01:00
  • 605f1c8e3d [Postgres] Add order set aggregate functions support. go-jet 2021-12-07 14:07:44 +01:00
  • 04c14f29bf Add option for generator to ignore tables, views or enums. go-jet 2022-01-15 17:43:25 +01:00
  • 4955bfc4b5 Add automatic query logger function with additional execution details. go-jet 2022-01-12 19:03:50 +01:00
  • 7377e078cd Skip complex expression parenthesis wrap for function parameters. go-jet 2022-01-10 16:57:57 +01:00
  • a506a96d6a Add DISTINCT operator support go-jet 2022-01-10 16:43:17 +01:00
  • 6fe9c26d30 [Postgres] Add support for DISTINCT ON clause. go-jet 2022-01-06 18:11:26 +01:00
  • 5cbf4aac86 Add ability to change alias of all projections in the ProjectionList. Add ability to exclude list of columns from ProjectionList. go-jet 2022-01-05 18:00:20 +01:00
  • 392ba63bc5 Add helper method to set ProjectionList alias. go-jet 2021-12-30 16:23:59 +01:00
  • 038a32b032 Add WITH RECURSIVE statement support go-jet 2021-12-29 19:07:59 +01:00
  • 001d64f1dc Add BETWEEN operator support. go-jet 2022-01-04 17:58:10 +01:00
  • 3c866a0b6f Add sub-query column alias bubling tests. go-jet 2021-12-28 17:18:10 +01:00
  • 01305a138f Add automatic type cast for integer literals go-jet 2021-12-26 17:15:43 +01:00
  • 47545ce571 Add WITH RECURSIVE support. go-jet 2021-12-14 17:14:13 +01:00
  • 02123005c1 [QRM] Prevent recursive scan if destination contains circular dependency. go-jet 2021-12-07 17:16:10 +01:00
  • 7f54036b1a Remove unused code. go-jet 2021-12-24 18:08:05 +01:00
  • c0710bed29 Update go doc. go-jet 2021-12-24 17:13:13 +01:00
  • b92af7ca6e Update circle.ci go-jet 2021-12-18 13:55:40 +01:00
  • 972fc1d9bf Add support for running integration tests with dockerized test databases. go-jet 2021-12-17 16:59:43 +01:00
  • 4d5abc85c6
    Merge pull request #112 from kblomster/generator-mysql-5.7-support go-jet 2021-12-15 11:48:59 +01:00
  • 4d404d8853
    generator: support MySQL 5.7 Karl Blomster 2021-12-14 18:22:58 +01:00
  • 23aeb02e93 Update issue templates go-jet 2021-12-13 12:47:27 +01:00
  • 60ffd004c5 Add USING clause support for DELETE statements go-jet 2021-12-08 18:14:57 +01:00
  • 72e8d7d584 Add FROM clause support for UPDATE statements go-jet 2021-12-08 18:13:58 +01:00
  • d335b6cdad
    Merge pull request #99 from go-jet/develop go-jet 2021-10-25 16:33:21 +02:00
  • 97c34fbb54 Update Readme. go-jet 2021-10-25 14:42:10 +02:00
  • 776f308273 Update Readme. go-jet 2021-10-22 18:21:42 +02:00
  • a50d89ff9d Add test for - Special characters are not working in postgres password(for generator) https://github.com/go-jet/jet/issues/95 go-jet 2021-10-22 18:08:05 +02:00
  • f2e4b8551c Update circle.ci go-jet 2021-10-21 18:15:54 +02:00
  • 84e120cbab Test fix. go-jet 2021-10-21 17:30:57 +02:00
  • e8f4c2b31b Add SQLBuilder support for SQLite databases. go-jet 2021-10-21 13:39:24 +02:00
  • d197956271 Avoid unnecessary double wrapping of SELECT statement when used as single function parameter. go-jet 2021-10-21 13:35:37 +02:00
  • 22b2901336 Move RETURNING clause to internal/jet so it can be reused for sqlite implementation. go-jet 2021-10-21 13:31:54 +02:00
  • 6080ae134f QRM skip unnecessary new slice element copying. go-jet 2021-10-21 13:28:01 +02:00
  • 51cad22809 Add jet generator support for SQLite go-jet 2021-10-21 13:21:01 +02:00
  • 3f7efb33eb Build fix. go-jet 2021-10-15 17:53:56 +02:00
  • 0d418890ab Qrm refactor - Allow custom types Scan method to read values returned by the driver rather then the value from intermediate Null types. Scan to intermidiate Null types removed. - Better error handling go-jet 2021-10-15 17:43:10 +02:00
  • 555ec293fb Add ability to exclude columns from ColumnList go-jet 2021-10-04 11:48:02 +02:00
  • 3015b79926 Add test for - Special characters are not working in postgres password(for generator) https://github.com/go-jet/jet/issues/95 go-jet 2021-10-04 10:48:07 +02:00
  • 8adfe45e38 Reuse generator logic between two generator functions. go-jet 2021-10-04 10:46:46 +02:00
  • f30662e0b8 Build fix. go-jet 2021-09-24 11:53:03 +02:00
  • a85eafd58c
    fix: Fixing up postgres connection strings (#96) Mukundan Kidambi 2021-09-24 02:49:41 -07:00
  • 8d43829bc5 Revert scanContext.rowElemValuePtr func signature mlaflamm 2021-09-15 09:03:05 -04:00
  • fee77b695a Fix scan nil primitive type slice mlaflamm 2021-09-14 17:18:56 -04:00
  • b31464e491 Review fixes vetcher 2021-09-01 14:38:45 +03:00
  • 5b7c34e333 Connection via DSN vetcher 2021-08-30 15:09:09 +03:00
  • b0838999d6 Fix circle.ci. go-jet 2021-08-30 12:32:48 +02:00
  • f92754e0e6 Merge branch 'develop' of https://github.com/go-jet/jet into develop go-jet 2021-08-30 12:24:58 +02:00