Get using the prepared statement. Any placeholder parameters are replaced with supplied args. An error is returned if the result set is empty.
(dest interface{}, args ...interface{})
| 523 | // Any placeholder parameters are replaced with supplied args. |
| 524 | // An error is returned if the result set is empty. |
| 525 | func (s *Stmt) Get(dest interface{}, args ...interface{}) error { |
| 526 | return Get(&qStmt{s}, dest, "", args...) |
| 527 | } |
| 528 | |
| 529 | // MustExec (panic) using this statement. Note that the query portion of the error |
| 530 | // output will be blank, as Stmt does not expose its query. |