Commit graph

187 commits

Author SHA1 Message Date
go-jet
f9efee77ff QRM returns sql.ErrNoRows when scanning into struct destination and query result set is empty. 2019-10-12 18:45:09 +02:00
go-jet
8c9ae77cd8 Add QRM error if result set is empty when scanning into struct destination. 2019-10-10 16:09:44 +02:00
go-jet
e09c78dec3 New MIN/MAX functions that accepts any expression type. 2019-09-30 14:42:04 +02:00
go-jet
29f43e5fe8 Rename execution package to qrm (Query Result Mapping). 2019-09-27 11:46:31 +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
65e05021bc Add more unit tests. 2019-09-20 19:24:54 +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
5ba10d35db Added support for window clause and functions. 2019-09-17 13:34:47 +02:00
go-jet
46a3dc7dfb MySQL linter errors. 2019-08-17 10:43:16 +02:00
go-jet
d5466a91e6 Move init and test results data to separate repo. 2019-08-16 12:43:41 +02:00
go-jet
ba5ee27990 Literal expressions clean up. 2019-08-16 11:19:06 +02:00
go-jet
0dbdbb9220 MariaDB tests fix. 2019-08-15 11:59:17 +02:00
go-jet
bf3ec27f68 REGEXP_LIKE refactor. 2019-08-15 11:10:02 +02:00
go-jet
91dc633b45 Generator clean up. 2019-08-14 12:50:31 +02:00
go-jet
13c671fa3f Execution additional tests. 2019-08-13 17:20:35 +02:00
go-jet
486e45db5c SQL Builder panics on invalid SQL.
Query execution panics on invalid destination.
2019-08-13 13:57:26 +02:00
go-jet
14c2c9d745 Expression wrappers test. 2019-08-13 10:33:31 +02:00
go-jet
614c7e9754 Literal and cast clean up. 2019-08-13 10:16:26 +02:00
go-jet
736a650241 DebugSQL refactor. 2019-08-11 18:44:58 +02:00
go-jet
8519ccbdd0 Postgres refactor. 2019-08-11 09:52:02 +02:00
go-jet
d00167cbba Remove unnecessary operators. 2019-08-09 10:30:24 +02:00
go-jet
070d82f90f Generator tests for MySQL. 2019-08-08 17:51:20 +02:00
go-jet
0ab25e4464 Update CircleCI to support MySQL 2019-08-08 17:13:20 +02:00
go-jet
4c5584aaae Update circle ci for MySQL tests. 2019-08-08 10:51:59 +02:00
go-jet
d235385c2a MySQL UUID test.
RAW rename to Raw.
2019-08-06 13:29:26 +02:00
go-jet
6ee2f45548 [New] Constructor for time types, that accepts time.Time. (TimeT, TimezT, DateT, ...) 2019-08-06 11:41:45 +02:00
go-jet
647ef21aaf Dialect refactor improvements and clean up. 2019-08-06 10:29:04 +02:00
go-jet
23fd973699 Package structure refactor. 2019-08-03 14:10:47 +02:00
go-jet
7660bdd8b5 MySQL update statement tests. 2019-08-02 11:08:24 +02:00
go-jet
6af43f0c46 MySQL select statement tests. 2019-08-01 16:56:54 +02:00
go-jet
dfb72c06a7 MySQL expression operators tests. 2019-08-01 11:15:38 +02:00
go-jet
c342f296ca MySQL cast expressions. Simplified. 2019-08-01 10:39:57 +02:00
go-jet
53dbcd9bfc MySQL cast expressions. 2019-07-31 18:43:54 +02:00
go-jet
fcce8d4262 MySQL int expressions. 2019-07-31 13:02:30 +02:00
go-jet
163ecf4c42 MySQL float expressions. 2019-07-30 15:04:36 +02:00
go-jet
6bf9c32c07 Tests folder structure reorganisation. 2019-07-30 11:45:10 +02:00