hub/vendor/github.com/DATA-DOG/go-sqlmock/statement.go
2023-03-12 15:02:23 +06:00

17 lines
244 B
Go

package sqlmock
type statement struct {
conn *sqlmock
ex *ExpectedPrepare
query string
}
func (stmt *statement) Close() error {
stmt.ex.wasClosed = true
return stmt.ex.closeErr
}
func (stmt *statement) NumInput() int {
return -1
}