Commit graph

14 commits

Author SHA1 Message Date
go-jet
6080ae134f QRM skip unnecessary new slice element copying. 2021-10-21 13:40:26 +02:00
go-jet
0d418890ab Qrm refactor
- Allow custom types Scan method to read values returned by the driver rather then the value from intermediate Null types. Scan to intermidiate Null types removed.
- Better error handling
2021-10-15 17:43:10 +02:00
go-jet
17e5e34111 Allow NUMERIC value scan into any number type 2021-05-21 16:09:29 +02:00
go-jet
063b17ca05 Update lossless decimal tests to use new floats test table and DECIMAL literal constructor. 2021-05-09 16:37:16 +02:00
David Racine
1404bf5e16 fix mixup imports 2021-05-03 20:14:13 +02:00
David Racine
f1ac6561b9 fix mixup imports 2021-05-03 20:14:13 +02:00
David Racine
a5f5091903 keep support destination type float64 for decimal/numeric 2021-05-03 20:14:13 +02:00
go-jet
059515f52b QRM: Convert lossless decimal types first to string. 2021-05-03 20:14:13 +02:00
go-jet
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +02:00
go-jet
f8daa1d76e Some linter errors. 2019-10-18 10:09:56 +02:00
go-jet
53a76f31b4 Additional qrm tests. 2019-10-18 09:56:38 +02:00
Christian King
9a3f12ea5f Fix issue with using UUID primary keys in complex return types
When using a UUID as a primary key with PostgreSQL the grouping was
defaulting to the row which caused incorrect results to be returned.
2019-10-17 15:13:40 -04: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
3544977d7f QRM code refactor. 2019-10-11 10:15:36 +02:00