Commit graph

15 commits

Author SHA1 Message Date
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
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
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +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
926b88ed40 Add reserved words for MySQL. 2020-05-02 22:15:38 +02:00
go-jet
3efbb0ccd9 Replace gotest.tools with github.com/stretchr/testify. 2020-02-11 10:25:13 +01:00
go-jet
64a51dc093 QRM returns qrm.ErrNoRows when scanning into struct destination and query result set is empty. 2019-10-18 10:15:08 +02:00
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
29f43e5fe8 Rename execution package to qrm (Query Result Mapping). 2019-09-27 11:46: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
23fd973699 Package structure refactor. 2019-08-03 14:10:47 +02:00
go-jet
6bf9c32c07 Tests folder structure reorganisation. 2019-07-30 11:45:10 +02:00
Renamed from tests/scan_test.go (Browse further)