Maksim Zhashkevych
f973d0041c
updated install command in readme
2020-10-23 15:19:33 +03:00
Maksim Zhashkevych
44c6b4f7b7
updated readme
2020-10-22 12:42:13 +03:00
Maksim Zhashkevych
1bfbf460e0
updated go.mod
2020-10-22 11:56:45 +03:00
Maksim Zhashkevych
01cac9ec0f
added jmoiron/sqlx support
2020-10-22 11:52:57 +03:00
koki
f920cc853b
Merge pull request #234 from gold-kou/feature/fix_travis_go1.15
...
Add go 1.15 in travis
2020-09-09 08:47:31 +09:00
koki.hatano
8e6be87ade
✨ Add go 1.15 in travis
2020-09-08 08:39:30 +09:00
Gediminas Morkevicius
b8a63d3edf
Merge pull request #231 from bonitoo-io/pr-152-again
...
Add Column Metadata
2020-06-28 18:11:42 +03:00
Ales Pour
3b533ba431
Add Column Metadata #152
2020-06-22 22:26:35 +02:00
gedi
7c0bc43a68
looking for maintainers note
2020-06-21 16:53:00 +03:00
Gediminas Morkevicius
3b99664e4f
Merge pull request #225 from Pawan-Bishnoi/fix_readme
...
Readme: build error in sample code
2020-05-13 00:11:44 +03:00
Pawan-Bishnoi
5d9cd27675
Readme: build error in test code
...
err redeclared
2020-05-12 11:39:27 +05:30
Gediminas Morkevicius
210237807c
Merge pull request #223 from gliptak/patch-1
...
Add Go 1.14 to Travis
2020-04-30 22:56:40 +03:00
Gábor Lipták
cb64891ad7
Add Go 1.14 to Travis
2020-04-29 16:56:15 -04:00
Gediminas Morkevicius
7d7fc89ac4
Merge pull request #216 from gliptak/gomod1
...
Remove 1.12 minimum Go version from go.mod
2020-01-25 09:47:15 +02:00
Gábor Lipták
9bc1a4a3e0
Remove 1.12 minimum Go version from go.mod
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
2020-01-23 17:16:06 -05:00
Gediminas Morkevicius
012d92843b
Merge pull request #208 from zevst/master
...
migration from custom namedValue to driver.NamedValue
2019-12-05 01:04:32 +01:00
Nikita Koryabkin
4fbf605854
move tests
2019-12-04 10:44:50 +03:00
Nikita Koryabkin
8cf05c23ad
added tests
2019-12-04 10:38:13 +03:00
Nikita Koryabkin
03d1707c76
added tests
2019-12-04 09:26:45 +03:00
Nikita Koryabkin
594a047e2f
added tests
2019-12-04 09:02:10 +03:00
Nikita Koryabkin
5dc976bc43
added tests
2019-12-03 13:46:20 +03:00
Nikita Koryabkin
5a7ddb9845
added tests
2019-12-03 12:47:50 +03:00
Nikita Koryabkin
e062dfc202
fix import for test
2019-12-03 07:45:23 +03:00
Nikita Koryabkin
27bffac965
fix import time and fmt
2019-12-03 07:42:48 +03:00
Nikita Koryabkin
64c12dcb17
fix import driver
2019-12-03 07:40:19 +03:00
Nikita Koryabkin
7c97a0ddd1
fix go version less 1.8
2019-12-03 07:35:47 +03:00
Nikita Koryabkin
118815aba3
fix
2019-12-02 14:54:33 +03:00
Nikita Koryabkin
db5c272208
fix
2019-12-02 14:48:50 +03:00
Nikita Koryabkin
e1791635b1
Merge branch 'master' of github.com:DATA-DOG/go-sqlmock
2019-12-02 14:48:16 +03:00
Nikita Koryabkin
f3f5a5d16b
added support for mammoths
2019-12-02 14:39:36 +03:00
Gediminas Morkevicius
b91d98d893
Merge pull request #204 from mhuxtable/feature/expect_pings
...
Implement ExpectPings to watch for Ping attempts on the database
2019-12-01 18:31:43 +01:00
Nikita Koryabkin
2ef7c147be
migration from custom namedValue to driver.NamedValue
2019-11-28 13:51:27 +03:00
Matthew Huxtable
dd0fe2afd6
Add ExpectPing to watch for db Ping calls
2019-11-06 14:15:28 +00:00
Gediminas Morkevicius
36d18c96ee
Merge pull request #205 from mhuxtable/travis-builds-go1.13
...
Enable travis builds on go 1.13.x
2019-11-06 14:44:52 +02:00
Matthew Huxtable
1d90f09713
Enable travis builds on go 1.13.x
2019-11-04 19:28:50 +00:00
Gediminas Morkevicius
e64ef33e8b
Merge pull request #195 from berupp/custom_types_exec_fix
...
Fix for Exec(...) mocking with non-standard SQL data types ([]string)
2019-09-27 21:01:38 +03:00
Benjamin Rupp
181c3c5c8e
Fix go fmt
2019-09-25 10:45:27 -04:00
Benjamin Rupp
cb3e425163
Moving Exec(...) test to 1.9 build as NamedValueChecker is only supported since 1.9
2019-09-25 10:33:09 -04:00
Benjamin Rupp
4567d0a670
Adjusting < go 1.8 implementation
2019-09-25 09:25:15 -04:00
Benjamin Rupp
327ae5dcb6
Fix for mocking Exec with custom []string datatype
2019-09-25 09:13:06 -04:00
Benjamin Rupp
6099e2fbb4
Adding unit tests for Query/Scan and Exec mocking, using custom []string data type
2019-09-25 09:11:30 -04:00
Gediminas Morkevicius
e98392b811
Merge pull request #177 from dackroyd/invalidate-sql-rawbytes-memory
...
Invalidate memory scanned into sql.RawBytes
2019-06-21 13:39:28 +03:00
David Ackroyd
d5879ee4b7
Invalidate memory scanned into sql.RawBytes
...
The intention of sql.RawBytes is for it to hold memory owned by the
database. When used, it's content is only valid until the `Next`,
`Scan` or `Close` is called on the `Rows`
To ensure that we meet this behaviour, when `[]byte` is used in a
column, it's value is copied to a buffer that we keep track of for
later invalidation. By doing this, incorrect use of `sql.RawBytes`
values is exposed in tests that use go-sqlmock. Without this, when a
real database is used and it's driver does share memory, then those
issues would not be exposed until runtime (and in non-obvious ways)
2019-06-21 17:03:05 +10:00
gedi
6c8a572d09
for some reason transaction statement was not working on go1.8
2019-06-07 09:38:57 +03:00
gedi
4ee1fdaf44
closes #159
2019-06-07 09:26:40 +03:00
Gediminas Morkevicius
7500ecac5e
Merge pull request #174 from krevels/out_parameter_support
...
Out parameter support
2019-06-05 09:30:04 +03:00
Kyril Revels
470c520119
formatting
2019-06-04 17:59:34 -04:00
Kyril Revels
1dd355d63c
support for usage of sql.Out as a param value
2019-06-04 17:57:33 -04:00
Gediminas Morkevicius
ef0bdf231a
Merge pull request #167 from sekky0905/remove-travis-sudo-setting
...
Remove sudo setting from travis.yml
2019-03-22 16:25:48 +02:00
sekky0905
9daf2407ed
Remove sudo setting from travis.yml
2019-03-22 21:58:17 +09:00