NamedExec using this DB. Any named placeholder parameters are replaced with fields from arg.
(query string, arg interface{})
| 311 | // NamedExec using this DB. |
| 312 | // Any named placeholder parameters are replaced with fields from arg. |
| 313 | func (db *DB) NamedExec(query string, arg interface{}) (sql.Result, error) { |
| 314 | return NamedExec(db, query, arg) |
| 315 | } |
| 316 | |
| 317 | // Select using this DB. |
| 318 | // Any placeholder parameters are replaced with supplied args. |