MCPcopy
hub / github.com/daptin/daptin / QueryRowx

Method QueryRowx

server/inmemory_mock_db.go:125–132  ·  view source on GitHub ↗
(query string, args ...interface{})

Source from the content-addressed store, hash-verified

123
124}
125func (imtd *InMemoryTestDatabase) QueryRowx(query string, args ...interface{}) *sqlx.Row {
126 if imtd.queries == nil {
127 imtd.queries = make([]string, 0)
128 }
129
130 imtd.queries = append(imtd.queries, query)
131 return imtd.db.QueryRowx(query, args...)
132}
133
134func (imtd *InMemoryTestDatabase) Rebind(query string) string {
135 if imtd.queries == nil {

Calls 1

makeFunction · 0.85

Tested by 1

mailUidTestNextUidFunction · 0.64