Prepareer is the interface that wraps the Prepare method. Prepare executes the given query as implemented by database/sql.Prepare.
| 10 | // |
| 11 | // Prepare executes the given query as implemented by database/sql.Prepare. |
| 12 | type Preparer interface { |
| 13 | Prepare(query string) (*sql.Stmt, error) |
| 14 | } |
| 15 | |
| 16 | // DBProxy groups the Execer, Queryer, QueryRower, and Preparer interfaces. |
| 17 | type DBProxy interface { |