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

Method QueryRowxContext

named_context.go:90–92  ·  view source on GitHub ↗

QueryRowxContext this NamedStmt. Because of limitations with QueryRow, this is an alias for QueryRow. Any named placeholder parameters are replaced with fields from arg.

(ctx context.Context, arg interface{})

Source from the content-addressed store, hash-verified

88// an alias for QueryRow.
89// Any named placeholder parameters are replaced with fields from arg.
90func (n *NamedStmt) QueryRowxContext(ctx context.Context, arg interface{}) *Row {
91 return n.QueryRowContext(ctx, arg)
92}
93
94// SelectContext using this NamedStmt
95// Any named placeholder parameters are replaced with fields from arg.

Callers 1

GetContextMethod · 0.95

Calls 1

QueryRowContextMethod · 0.95

Tested by

no test coverage detected