PrepareerContext is the interface that wraps the Prepare and PrepareContext methods. Prepare executes the given query as implemented by database/sql.Prepare. PrepareContext executes the given query as implemented by database/sql.PrepareContext.
| 12 | // Prepare executes the given query as implemented by database/sql.Prepare. |
| 13 | // PrepareContext executes the given query as implemented by database/sql.PrepareContext. |
| 14 | type PreparerContext interface { |
| 15 | Preparer |
| 16 | PrepareContext(ctx context.Context, query string) (*sql.Stmt, error) |
| 17 | } |
| 18 | |
| 19 | // DBProxyContext groups the Execer, Queryer, QueryRower and PreparerContext interfaces. |
| 20 | type DBProxyContext interface { |
no outgoing calls
no test coverage detected
searching dependent graphs…