MCPcopy Index your code
hub / github.com/upper/db / QueryRow

Method QueryRow

sql.go:131–131  ·  view source on GitHub ↗

QueryRow executes a SQL query that returns one row, like sql.QueryRow. Queries can be either strings or upper-db statements. Example: sqlbuilder.QueryRow(`SELECT * FROM people WHERE name = "Haruki" AND last_name = "Murakami" LIMIT 1`)

(query interface{}, args ...interface{})

Source from the content-addressed store, hash-verified

129 //
130 // sqlbuilder.QueryRow(`SELECT * FROM people WHERE name = "Haruki" AND last_name = "Murakami" LIMIT 1`)
131 QueryRow(query interface{}, args ...interface{}) (*sql.Row, error)
132
133 // QueryRowContext executes a SQL query that returns one row, like
134 // sql.QueryRowContext. Queries can be either strings or upper-db statements.

Callers 9

testPostgreSQLTypesFunction · 0.65
getStatsFunction · 0.65
InsertMethod · 0.65
getStatsFunction · 0.65
testPostgreSQLTypesFunction · 0.65

Implementers 1

sqlBuilderinternal/sqlbuilder/builder.go

Calls

no outgoing calls

Tested by 8

testPostgreSQLTypesFunction · 0.52
getStatsFunction · 0.52
getStatsFunction · 0.52
testPostgreSQLTypesFunction · 0.52