MCPcopy Index your code
hub / github.com/Masterminds/squirrel / QueryRow

Method QueryRow

select.go:203–206  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

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

Callers 1

ScanMethod · 0.95

Calls 1

QueryRowMethod · 0.65

Tested by

no test coverage detected