jet/postgres
go-jet 01305a138f Add automatic type cast for integer literals
In parameterized statements integer literals, like Int(num), are replaced with a placeholders. For some expressions,
postgres interpreter will not have enough information to deduce the type. If this is the case postgres returns an error.
Int8, Int16, Int32.... functions now will add automatic type cast over a placeholder, so type deduction is always possible.
2021-12-26 17:29:43 +01:00
..
cast.go Add go mod support. 2020-06-27 18:48:19 +02:00
cast_test.go Add postgres interval cast. 2019-12-07 13:52:51 +01:00
clause.go Move RETURNING clause to internal/jet so it can be reused for sqlite implementation. 2021-10-21 13:40:26 +02:00
clause_test.go Add automatic type cast for integer literals 2021-12-26 17:29:43 +01:00
columns.go Add go mod support. 2020-06-27 18:48:19 +02:00
columns_test.go Fix unit tests. 2020-05-24 18:09:16 +02:00
conflict_action.go Add go mod support. 2020-06-27 18:48:19 +02:00
delete_statement.go Add USING clause support for DELETE statements 2021-12-08 18:14:57 +01:00
delete_statement_test.go Test utils reuse. 2019-08-12 12:11:16 +02:00
dialect.go Add go mod support. 2020-06-27 18:48:19 +02:00
dialect_test.go Add automatic type cast for integer literals 2021-12-26 17:29:43 +01:00
expressions.go Fix linter errors 2021-05-16 19:10:43 +02:00
expressions_test.go Add RawStatement support 2021-05-15 11:54:41 +02:00
functions.go Add go mod support. 2020-06-27 18:48:19 +02:00
insert_statement.go Move RETURNING clause to internal/jet so it can be reused for sqlite implementation. 2021-10-21 13:40:26 +02:00
insert_statement_test.go Add automatic type cast for integer literals 2021-12-26 17:29:43 +01:00
interval_expression.go Move RETURNING clause to internal/jet so it can be reused for sqlite implementation. 2021-10-21 13:40:26 +02:00
interval_expression_test.go Add automatic type cast for integer literals 2021-12-26 17:29:43 +01:00
keywords.go Add go mod support. 2020-06-27 18:48:19 +02:00
lateral.go Fix linter errors 2021-05-16 19:10:43 +02:00
lateral_test.go Add LATERAL query support 2021-05-03 19:47:03 +02:00
literal.go Add automatic type cast for integer literals 2021-12-26 17:29:43 +01:00
literal_test.go Add automatic type cast for integer literals 2021-12-26 17:29:43 +01:00
lock_statement.go Add go mod support. 2020-06-27 18:48:19 +02:00
lock_statement_test.go Test utils reuse. 2019-08-12 12:11:16 +02:00
operators.go Add go mod support. 2020-06-27 18:48:19 +02:00
select_statement.go Add FROM clause support for UPDATE statements 2021-12-08 18:13:58 +01:00
select_statement_test.go Add automatic type cast for integer literals 2021-12-26 17:29:43 +01:00
select_table.go Add go mod support. 2020-06-27 18:48:19 +02:00
set_statement.go export OrderByClause type through alias 2020-09-03 13:25:23 +02:00
set_statement_test.go Test utils reuse. 2019-08-12 12:11:16 +02:00
statement.go Add RawStatement support 2021-05-15 11:54:41 +02:00
table.go Add schema rename support 2021-04-30 14:02:49 +02:00
table_test.go Add implicit cross join support 2021-05-03 18:48:15 +02:00
types.go export GroupByClause type through alias 2021-07-29 09:51:55 -04:00
update_statement.go Add FROM clause support for UPDATE statements 2021-12-08 18:13:58 +01:00
update_statement_test.go Test utils reuse. 2019-08-12 12:11:16 +02:00
utils_test.go Add RawStatement support 2021-05-15 11:54:41 +02:00
with_statement.go Add WITH RECURSIVE support. 2021-12-26 11:34:57 +01:00