MCPcopy
hub / github.com/jmoiron/sqlx / Get

Method Get

sqlx.go:525–527  ·  view source on GitHub ↗

Get using the prepared statement. Any placeholder parameters are replaced with supplied args. An error is returned if the result set is empty.

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

Source from the content-addressed store, hash-verified

523// Any placeholder parameters are replaced with supplied args.
524// An error is returned if the result set is empty.
525func (s *Stmt) Get(dest interface{}, args ...interface{}) error {
526 return Get(&qStmt{s}, dest, "", args...)
527}
528
529// MustExec (panic) using this statement. Note that the query portion of the error
530// output will be blank, as Stmt does not expose its query.

Callers

nothing calls this directly

Calls 1

GetFunction · 0.85

Tested by

no test coverage detected