go-jet
b375733dfa
Add schema rename support
...
Using SchemaFrom("schemaName") it is possible to set SQL builder table to point to a different schema.
2021-03-21 17:19:54 +01:00
Joonas Haapsaari
b7bcb3527e
Schema rename support
...
- Support for renaming table schemas
* Table support for renaming schema
* Empty schema name is left out (using default schema for the
database connection)
* Generated code support for obtaining a version of the table with
renamed schema, similarly as the `AS` function works
* Unit tests for setting and clearing the schema name
2020-08-18 15:56:04 +03:00
go-jet
2ada2ff69b
Add go mod support.
2020-06-27 18:48:19 +02:00
go-jet
a4b4710637
Generate different sql builder files for MySQL and PostgreSQL.
2020-05-03 21:30:57 +02:00
go-jet
9d112c7fe7
Merge remote-tracking branch 'remotes/upstream/idempotency-gen' into develop
2020-04-13 10:01:06 +02:00
go-jet
14e1863456
[postgres] Add support for ON CONFLICT clause
2020-04-12 18:53:57 +02:00
go-jet
e626384d0b
Remove timestamp from generated files.
2020-03-03 17:16:42 +01:00
go-jet
63c1fd6430
[bug] Fix crash on generating enum sql builder files when enum contains numeric values.
2020-02-15 11:20:51 +01:00
go-jet
799737d602
[Breakable] ColumnList is reverted to be a slice.
...
ColumnList(...) -> ColumnList{...}
IColumnList is removed.
2019-09-26 12:31:03 +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
070d82f90f
Generator tests for MySQL.
2019-08-08 17:51:20 +02:00
go-jet
23fd973699
Package structure refactor.
2019-08-03 14:10:47 +02:00
go-jet
5dda5e1e11
Generic dialect support. (MySQL and Postgres)
2019-07-28 14:57:02 +02:00
go-jet
043a0dc4c0
MySQL generator support.
2019-07-27 10:40:30 +02:00