go-jet
063b17ca05
Update lossless decimal tests to use new floats test table and DECIMAL literal constructor.
2021-05-09 16:37:16 +02:00
go-jet
92d02fef78
Add DECIMAL constructor for Float literal.
...
DECIMAL constructor is used to pass a decimal number to the SQL query without precision loss.
2021-05-09 16:25:54 +02:00
David Racine
08cc316101
fix insert of decimal by changing decimal library
2021-05-03 20:14:13 +02:00
David Racine
1404bf5e16
fix mixup imports
2021-05-03 20:14:13 +02:00
David Racine
f1ac6561b9
fix mixup imports
2021-05-03 20:14:13 +02:00
David Racine
a5f5091903
keep support destination type float64 for decimal/numeric
2021-05-03 20:14:13 +02:00
go-jet
059515f52b
QRM: Convert lossless decimal types first to string.
2021-05-03 20:14:13 +02:00
go-jet
5ab430c367
Merge remote-tracking branch 'remotes/origin/add-lateral' into develop
...
# Conflicts:
# tests/mysql/select_test.go
# tests/postgres/select_test.go
2021-05-03 20:00:34 +02:00
go-jet
0f773b26d6
Add LATERAL query support
2021-05-03 19:47:03 +02:00
go-jet
4ef0113f6b
Add implicit cross join support
2021-05-03 18:48:15 +02:00
go-jet
0cba1f6401
Lateral - initial commit.
2021-04-30 14:02:49 +02:00
go-jet
1146afe343
Update circle-ci
...
Add new test database.
2021-04-30 14:02:49 +02:00
go-jet
616f27306e
Update quick-start example with updated auto generated files
2021-04-30 14:02:49 +02:00
go-jet
fae8dde639
Add schema rename support
...
Using SchemaFrom("schemaName") it is possible to set SQL builder table to point to a different schema.
2021-04-30 14:02:49 +02:00
go-jet
38776e35ab
Remove methods from Table interface that affects receiver object
...
Modifying SQL builder receiver object can produce unwanted side effects.
2021-04-30 14:02:49 +02:00
Joonas Haapsaari
1e511654fd
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
2021-04-30 14:02:49 +02:00
go-jet
9773657c3d
Merge remote-tracking branch 'remotes/origin/schema-rename-support2' into develop
2021-03-21 17:27:44 +01:00
go-jet
f8cfaaace1
Update circle-ci
...
Add new test database.
2021-03-21 17:23:42 +01:00
go-jet
d63e56f574
Update quick-start example with updated auto generated files
2021-03-21 17:19:54 +01:00
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
go-jet
753d3bac9a
Remove methods from Table interface that affects receiver object
...
Modifying SQL builder receiver object can produce unwanted side effects.
2021-03-21 17:19:54 +01:00
DevDevious
5b4a1ebd63
Added unsigned integer literals.
2021-03-21 17:19:54 +01:00
go-jet
2fb93a0bdb
Update circle-ci config
2021-03-21 17:19:54 +01:00
go-jet
7bafa1ffef
Merge pull request #73 from DevDevious/unsigned-integers
...
Unsigned integer literal support
2021-02-23 14:09:47 +01:00
DevDevious
6b06bc6a37
Added unsigned integer literals.
2021-02-22 13:58:28 -05:00
go-jet
92818acd50
Update circle-ci config
2021-02-21 17:12:17 +01:00
go-jet
4c821d16b0
Merge pull request #47 from joonash/schema-rename-support
...
Schema rename support
2020-11-17 19:31:24 +01:00
go-jet
667d534a65
Merge pull request #55 from campsite/develop
...
Add support for custom functions.
2020-10-02 19:24:43 +02:00
tolfino
bc104d7dbb
Add support for custom functions.
...
This allows expressions like jet.Func("FOO", String("test")) to be
emitted as FOO($1).
2020-10-02 08:53:26 -07:00
go-jet
29119d71d9
Merge pull request #51 from gkdr/export-order-by
...
Export OrderByClause type through alias.
2020-09-06 16:22:55 +02:00
Richard
1c435f5c7f
export OrderByClause type through alias
...
enables e.g. creating a collection of clauses beforehand and dynamically adding to it.
this resolves #48 .
2020-09-03 13:25:23 +02: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
4b0263112f
Merge pull request #45 from joonash/mysql-not-operator
...
MySQL NOT operator support
2020-07-30 17:08:28 +02:00
Joonas Haapsaari
9a3c29b504
MySQL NOT operator support
...
- Suppot for NOT operator in MySQL, similarly as in PostgreSQL.
- Add test to verify NOT EXISTS query in MySQL
2020-07-29 16:37:55 +03:00
go-jet
fdde2ab9b4
Merge pull request #42 from go-jet/develop
...
Add support for go.mod (v2.4.0)
2020-06-28 11:27:41 +02:00
go-jet
5881b5d947
Update README.md.
2020-06-28 11:21:08 +02:00
go-jet
2ada2ff69b
Add go mod support.
2020-06-27 18:48:19 +02:00
go-jet
6437e041ee
Merge pull request #41 from anisjonischkeit/patch-1
...
fix documentation for DESC()
2020-06-09 10:00:29 +02:00
Anis Jonischkeit
40eb2b80c4
fix documentation
2020-06-08 21:22:22 +10:00
go-jet
fdeef56d53
Remove go.mod support for now, because it requires breaking changes.
2020-06-03 08:36:03 +02:00
go-jet
b2c96f4419
Update README.md
2020-06-03 08:02:53 +02:00
go-jet
c3903948c8
Merge pull request #40 from go-jet/develop
...
Merge develop to master for 2.3.0 release
2020-06-03 07:28:40 +02:00
go-jet
63aa31925a
Disable unsupported MariaDB tests.
2020-06-01 20:35:07 +02:00
go-jet
d19fdea86d
Additional MySQL WITH statement tests.
2020-06-01 20:30:09 +02:00
go-jet
e54e8fcabf
Rename LoggableStatement to PrintableStatement.
2020-06-01 18:22:24 +02:00
go-jet
cd3325054b
Remove unused template function.
2020-06-01 17:21:52 +02:00
go-jet
b8d1f97cf5
Update generator version.
2020-05-31 20:15:17 +02:00
go-jet
aefa4a2ff6
Add go mod support.
2020-05-31 12:27:11 +02:00
go-jet
07251841aa
Update README.md
2020-05-31 11:16:26 +02:00
go-jet
0183117b72
Update quick start example.
2020-05-31 10:42:55 +02:00