QueryExecutor runs SQL statements against the database.
| 4 | |
| 5 | // QueryExecutor runs SQL statements against the database. |
| 6 | type QueryExecutor interface { |
| 7 | Query(SQL string, params ...interface{}) (sc Scanner) |
| 8 | QueryCtx(ctx context.Context, SQL string, params ...interface{}) (sc Scanner) |
| 9 | QueryCount(SQL string, params ...interface{}) (sc Scanner) |
| 10 | QueryCountCtx(ctx context.Context, SQL string, params ...interface{}) (sc Scanner) |
| 11 | |
| 12 | Insert(SQL string, params ...interface{}) (sc Scanner) |
| 13 | InsertCtx(ctx context.Context, SQL string, params ...interface{}) (sc Scanner) |
| 14 | |
| 15 | Update(SQL string, params ...interface{}) (sc Scanner) |
| 16 | UpdateCtx(ctx context.Context, SQL string, params ...interface{}) (sc Scanner) |
| 17 | |
| 18 | Delete(SQL string, params ...interface{}) (sc Scanner) |
| 19 | DeleteCtx(ctx context.Context, SQL string, params ...interface{}) (sc Scanner) |
| 20 | |
| 21 | BatchInsertValues(SQL string, params ...interface{}) (sc Scanner) |
| 22 | BatchInsertValuesCtx(ctx context.Context, SQL string, params ...interface{}) (sc Scanner) |
| 23 | |
| 24 | BatchInsertCopy(dbname, schema, table string, keys []string, params ...interface{}) (sc Scanner) |
| 25 | BatchInsertCopyCtx(ctx context.Context, dbname, schema, table string, keys []string, params ...interface{}) (sc Scanner) |
| 26 | |
| 27 | ShowTable(schema, table string) (sc Scanner) |
| 28 | ShowTableCtx(ctx context.Context, schema, table string) (sc Scanner) |
| 29 | |
| 30 | ExecuteScripts(method, sql string, values []interface{}) (sc Scanner) |
| 31 | ExecuteScriptsCtx(ctx context.Context, method, sql string, values []interface{}) (sc Scanner) |
| 32 | } |
no outgoing calls
no test coverage detected