NamedQueryContext using this DB. Any named placeholder parameters are replaced with fields from arg.
(ctx context.Context, query string, arg interface{})
| 126 | // NamedQueryContext using this DB. |
| 127 | // Any named placeholder parameters are replaced with fields from arg. |
| 128 | func (db *DB) NamedQueryContext(ctx context.Context, query string, arg interface{}) (*Rows, error) { |
| 129 | return NamedQueryContext(ctx, db, query, arg) |
| 130 | } |
| 131 | |
| 132 | // NamedExecContext using this DB. |
| 133 | // Any named placeholder parameters are replaced with fields from arg. |