1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-07-15 01:14:22 +02:00

support for usage of sql.Out as a param value

This commit is contained in:
Kyril Revels
2019-06-04 17:57:33 -04:00
parent ef0bdf231a
commit 1dd355d63c
4 changed files with 32 additions and 5 deletions

View File

@ -114,8 +114,3 @@ func (stmt *statement) QueryContext(ctx context.Context, args []driver.NamedValu
// @TODO maybe add ExpectedBegin.WithOptions(driver.TxOptions)
// CheckNamedValue meets https://golang.org/pkg/database/sql/driver/#NamedValueChecker
func (c *sqlmock) CheckNamedValue(nv *driver.NamedValue) (err error) {
nv.Value, err = c.converter.ConvertValue(nv.Value)
return err
}