Commit graph

31 commits

Author SHA1 Message Date
go-jet
dc557390b0 Test fix. 2022-02-09 13:49:37 +01:00
go-jet
c86903fd1d Additional scan performance improvements
Move typeStack to ScanContext, so it is shared between rows.Scan calls.
Use string.Builder for string concatenations.
Simplify value assign logic.
Move convert value to the last assign step (needs for type conversions are rare).
2022-02-09 12:34:10 +01:00
go-jet
c10244aeab Improve Rows scan performance
ScanContext reused between rows.Scan calls.
Simplified assign value logic.
Use complex destination for Rows test.
2022-02-04 13:03:31 +01:00
go-jet
4955bfc4b5 Add automatic query logger function with additional execution details. 2022-01-12 19:03:50 +01:00
go-jet
a506a96d6a Add DISTINCT operator support 2022-01-10 16:43:17 +01:00
go-jet
972fc1d9bf Add support for running integration tests with dockerized test databases. 2021-12-17 16:59:43 +01:00
go-jet
17e5e34111 Allow NUMERIC value scan into any number type 2021-05-21 16:09:29 +02:00
go-jet
3021a6a0fd Add support to retrieve Rows from statement
Rows statement method executes statements over db connection/transaction and returns Rows.
2021-05-16 18:46:50 +02:00
go-jet
0f773b26d6 Add LATERAL query support 2021-05-03 19:47:03 +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
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +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
3efbb0ccd9 Replace gotest.tools with github.com/stretchr/testify. 2020-02-11 10:25:13 +01:00
go-jet
d2fbdb68e6 Add support for conditional constructed projection list. 2019-12-14 19:11:35 +01:00
go-jet
d1970b3a55 MySQL interval with date/time expression arithmetic. 2019-12-01 18:34:44 +01: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
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
df93283516 MariaDB test fix. 2019-09-17 13:47:40 +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
e0a1eff493 MariaDB tests fix. 2019-08-15 13:54:05 +02:00
go-jet
0dbdbb9220 MariaDB tests fix. 2019-08-15 11:59:17 +02:00
go-jet
14c2c9d745 Expression wrappers test. 2019-08-13 10:33:31 +02:00
go-jet
4fbf576370 MySQL refactor. 2019-08-11 12:13:59 +02:00
go-jet
7930fb23ba Handle unsupported set operators for MySQL. 2019-08-08 11:44:19 +02:00
go-jet
4c5584aaae Update circle ci for MySQL tests. 2019-08-08 10:51:59 +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