SQLPreparer provides the Prepare and PrepareContext methods for creating prepared statements.
| 174 | // SQLPreparer provides the Prepare and PrepareContext methods for creating |
| 175 | // prepared statements. |
| 176 | type SQLPreparer interface { |
| 177 | // Prepare creates a prepared statement. |
| 178 | Prepare() (*sql.Stmt, error) |
| 179 | |
| 180 | // PrepareContext creates a prepared statement. |
| 181 | PrepareContext(context.Context) (*sql.Stmt, error) |
| 182 | } |
| 183 | |
| 184 | // SQLGetter provides methods for executing statements that return results. |
| 185 | type SQLGetter interface { |
nothing calls this directly
no outgoing calls
no test coverage detected