GetContext using this NamedStmt Any named placeholder parameters are replaced with fields from arg.
(ctx context.Context, dest interface{}, arg interface{})
| 106 | // GetContext using this NamedStmt |
| 107 | // Any named placeholder parameters are replaced with fields from arg. |
| 108 | func (n *NamedStmt) GetContext(ctx context.Context, dest interface{}, arg interface{}) error { |
| 109 | r := n.QueryRowxContext(ctx, arg) |
| 110 | return r.scanAny(dest, false) |
| 111 | } |
| 112 | |
| 113 | // NamedQueryContext binds a named query and then runs Query on the result using the |
| 114 | // provided Ext (sqlx.Tx, sqlx.Db). It works with both structs and with |
nothing calls this directly
no test coverage detected