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

Method NamedQuery

sqlx.go:421–423  ·  view source on GitHub ↗

NamedQuery within a transaction. Any named placeholder parameters are replaced with fields from arg.

(query string, arg interface{})

Source from the content-addressed store, hash-verified

419// NamedQuery within a transaction.
420// Any named placeholder parameters are replaced with fields from arg.
421func (tx *Tx) NamedQuery(query string, arg interface{}) (*Rows, error) {
422 return NamedQuery(tx, query, arg)
423}
424
425// NamedExec a named query within a transaction.
426// Any named placeholder parameters are replaced with fields from arg.

Callers

nothing calls this directly

Calls 1

NamedQueryFunction · 0.85

Tested by

no test coverage detected