MCPcopy
hub / github.com/Masterminds/squirrel / QueryRow

Method QueryRow

insert.go:201–204  ·  view source on GitHub ↗

QueryRow builds and QueryRows the query with the Runner set by RunWith.

()

Source from the content-addressed store, hash-verified

199
200// QueryRow builds and QueryRows the query with the Runner set by RunWith.
201func (b InsertBuilder) QueryRow() RowScanner {
202 data := builder.GetStruct(b).(insertData)
203 return data.QueryRow()
204}
205
206// Scan is a shortcut for QueryRow().Scan.
207func (b InsertBuilder) Scan(dest ...interface{}) error {

Callers 1

ScanMethod · 0.95

Calls 1

QueryRowMethod · 0.65

Tested by

no test coverage detected