go-jet
|
47545ce571
|
Add WITH RECURSIVE support.
|
2021-12-26 11:34:57 +01:00 |
|
go-jet
|
60ffd004c5
|
Add USING clause support for DELETE statements
|
2021-12-08 18:14:57 +01:00 |
|
go-jet
|
72e8d7d584
|
Add FROM clause support for UPDATE statements
|
2021-12-08 18:13:58 +01:00 |
|
go-jet
|
d197956271
|
Avoid unnecessary double wrapping of SELECT statement when used as single function parameter.
|
2021-10-21 13:40:26 +02:00 |
|
go-jet
|
22b2901336
|
Move RETURNING clause to internal/jet so it can be reused for sqlite implementation.
|
2021-10-21 13:40:26 +02:00 |
|
go-jet
|
3015b79926
|
Add test for - Special characters are not working in postgres password(for generator)
https://github.com/go-jet/jet/issues/95
|
2021-10-04 10:48:07 +02:00 |
|
mlaflamm
|
c47d79ffd7
|
export GroupByClause type through alias
|
2021-07-29 09:51:55 -04:00 |
|
go-jet
|
caa81930dc
|
Reset FROM clause list before new values are set.
|
2021-05-21 16:25:26 +02:00 |
|
go-jet
|
38541522e6
|
Fix linter errors
|
2021-05-16 19:10:43 +02:00 |
|
go-jet
|
a5b7769589
|
Add RawStatement support
RawStatement method creates new sql statements from raw query and optional map of named arguments.
|
2021-05-15 11:54:41 +02:00 |
|
go-jet
|
7af9072b8d
|
Allow Raw helper to accept named arguments
|
2021-05-14 12:15:35 +02:00 |
|
go-jet
|
9385f462df
|
Allow Bytea literal constructor to accept byte array.
Bytea literal constructor now accepts string or []byte a a parameter.
|
2021-05-12 12:29:22 +02:00 |
|
go-jet
|
f30cbb9e89
|
Add UUID helper function
UUID creates string literal expression from uuid object.
uuid can be any uuid type with a String method.
|
2021-05-11 13:20:07 +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 |
|
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
|
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
|
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 |
|
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 |
|
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 |
|
go-jet
|
2ada2ff69b
|
Add go mod support.
|
2020-06-27 18:48:19 +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
|
ac0fd9a6f6
|
Fix unit tests.
|
2020-05-24 18:09:16 +02:00 |
|
go-jet
|
8aa894730c
|
[PostgreSQL] Add support for WITH statements and Common Table Expressions.
|
2020-05-24 17:56:17 +02:00 |
|
go-jet
|
0d3ec872d6
|
Add support for automatic query logging.
|
2020-05-10 11:41:07 +02:00 |
|
go-jet
|
5d742837f1
|
Use testify/require instead of testify/assert for tests.
|
2020-05-09 11:00:22 +02:00 |
|
go-jet
|
ebcbadef24
|
Add new typesafe SET operator for UPDATE statement.
|
2020-05-09 10:49:09 +02:00 |
|
go-jet
|
980b9b6aac
|
Add ON DUPLICATE KEY UPDATE support (MySQL).
|
2020-05-03 20:46:21 +02:00 |
|
go-jet
|
14e1863456
|
[postgres] Add support for ON CONFLICT clause
|
2020-04-12 18:53:57 +02:00 |
|
go-jet
|
3019fdbbb2
|
[bug] Escape reserved words used as identifier.
|
2020-02-16 10:25:21 +01:00 |
|
go-jet
|
3efbb0ccd9
|
Replace gotest.tools with github.com/stretchr/testify.
|
2020-02-11 10:25:13 +01:00 |
|
go-jet
|
3013dc3647
|
Add support for PostgreSQL interval column
|
2020-02-09 18:37:48 +01:00 |
|
go-jet
|
641c62098c
|
Update comments.
|
2019-12-21 16:50:16 +01:00 |
|
go-jet
|
d2fbdb68e6
|
Add support for conditional constructed projection list.
|
2019-12-14 19:11:35 +01:00 |
|
go-jet
|
2487c48428
|
Fix linter errors.
|
2019-12-08 11:07:49 +01:00 |
|
go-jet
|
57aa62f483
|
Simplified creation of operator expression.
|
2019-12-07 18:54:30 +01:00 |
|
go-jet
|
a2fbc4f53a
|
Add postgres interval cast.
|
2019-12-07 13:52:51 +01:00 |
|
go-jet
|
4a3579e7f9
|
Postgres interval with date/time expression arithmetic.
|
2019-12-01 18:34:44 +01:00 |
|
go-jet
|
0b00a6b12c
|
Some linter errors.
|
2019-12-01 18:34:44 +01:00 |
|
go-jet
|
e09c78dec3
|
New MIN/MAX functions that accepts any expression type.
|
2019-09-30 14:42:04 +02: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
|
b646dd2c99
|
Use type aliasing to forward types from internal/jet.
|
2019-09-26 11:44:46 +02:00 |
|
go-jet
|
1cc463477d
|
Fix linter errors.
|
2019-09-20 19:54:56 +02:00 |
|
go-jet
|
f5287628aa
|
Improve code coverage.
|
2019-09-20 13:55:07 +02:00 |
|
go-jet
|
5ba10d35db
|
Added support for window clause and functions.
|
2019-09-17 13:34:47 +02:00 |
|
go-jet
|
a657b76bef
|
The rest of linter errors.
|
2019-08-17 18:32:01 +02:00 |
|
go-jet
|
ab6d85f886
|
Postgres linter errors.
|
2019-08-17 14:49:35 +02:00 |
|