BindNamed binds a query using the DB driver's bindvar type.
(query string, arg interface{})
| 299 | |
| 300 | // BindNamed binds a query using the DB driver's bindvar type. |
| 301 | func (db *DB) BindNamed(query string, arg interface{}) (string, []interface{}, error) { |
| 302 | return bindNamedMapper(BindType(db.driverName), query, arg, db.Mapper) |
| 303 | } |
| 304 | |
| 305 | // NamedQuery using this DB. |
| 306 | // Any named placeholder parameters are replaced with fields from arg. |
nothing calls this directly
no test coverage detected