jet
jet copied to clipboard
Type safe SQL builder with code generation and automatic query result data mapping
Adds GENERATE_SERIES function https://www.postgresql.org/docs/current/functions-srf.html I could also add the GENERATE_SUBSCRIPTS function but it has to wait for array expressions https://github.com/go-jet/jet/pull/380.
**Is your feature request related to a problem? Please describe.** It should not be necessary to wrap values that are being used for comparisons. Here is what the code currently...
Hello, I'm working on support for arrays in go-jet. I was wondering if this is a feature that is considered in the long run and if it maybe merged into...
Added whitelist flags for generate command. Related to [issue](https://github.com/go-jet/jet/issues/216). **Flags** -allow-tables Comma-separated list of tables to allow. Takes precedence over --ignore-tables flag. -allow-views Comma-separated list of views to allow. Takes...
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.9.0 to 1.9.3. Release notes Sourced from github.com/go-sql-driver/mysql's releases. v1.9.3 What's Changed [1.9] test stability improvement. by @methane in go-sql-driver/mysql#1699 [1.9] Transaction Commit/Rollback returns conn's cached error...
add options to generate json tags, as mentioned in #486
**Describe the bug** Consider this Jet statement: ```golang postgres.SELECT(postgres.Bool(true).EQ(postgres.String("foo").IS_NOT_NULL())) ``` It compiles to ```pgsql SELECT TRUE::boolean = 'foo'::text IS NOT NULL; ``` Which, when you run it in Postgres, results...
I tried to figure out how to generate code with JSON struct tags, but all solutions lead to this link at https://github.com/go-jet/jet/wiki/Generator#generator-customization, which as far as I understand means you...
**Is your feature request related to a problem? Please describe.** When using a locally install postgresql on linux machine, i would like to connect via unix socket to postgresql. Usually...