1
0
mirror of https://github.com/DATA-DOG/go-sqlmock.git synced 2025-03-19 20:57:50 +02:00

add comment to CheckNamedValue

This commit is contained in:
Jan Waś 2018-08-06 22:41:15 +02:00
parent f2bc8f904e
commit 3d31483014

View File

@ -180,6 +180,7 @@ func (c *sqlmock) ExpectationsWereMet() error {
return nil
}
// 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