Get using this DB. Any placeholder parameters are replaced with supplied args. An error is returned if the result set is empty.
(dest interface{}, query string, args ...interface{})
| 324 | // Any placeholder parameters are replaced with supplied args. |
| 325 | // An error is returned if the result set is empty. |
| 326 | func (db *DB) Get(dest interface{}, query string, args ...interface{}) error { |
| 327 | return Get(db, dest, query, args...) |
| 328 | } |
| 329 | |
| 330 | // MustBegin starts a transaction, and panics on error. Returns an *sqlx.Tx instead |
| 331 | // of an *sql.Tx. |