mirror of
https://github.com/DATA-DOG/go-sqlmock.git
synced 2024-11-28 08:49:01 +02:00
17 lines
244 B
Go
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
|
|
}
|