MCPcopy Create free account
hub / github.com/abice/go-enum / Query

Method Query

example/sql_mock_test.go:186–192  ·  view source on GitHub ↗

Query mocks base method.

(arg0 []driver.Value)

Source from the content-addressed store, hash-verified

184
185// Query mocks base method.
186func (m *MockStmt) Query(arg0 []driver.Value) (driver.Rows, error) {
187 m.ctrl.T.Helper()
188 ret := m.ctrl.Call(m, "Query", arg0)
189 ret0, _ := ret[0].(driver.Rows)
190 ret1, _ := ret[1].(error)
191 return ret0, ret1
192}
193
194// Query indicates an expected call of Query.
195func (mr *MockStmtMockRecorder) Query(arg0 interface{}) *gomock.Call {

Callers 4

TestExampleSQLFunction · 0.45
TestExampleSQLStrOnlyFunction · 0.45
TestExampleSQLIntOnlyFunction · 0.45
TestExampleSQLStrIntOnlyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected