Executor is the seam between the pure planner/assembler and the real database. M1 tests supply a fake; M2 implements it over *gocql.Session.
| 27 | // Executor is the seam between the pure planner/assembler and the real database. |
| 28 | // M1 tests supply a fake; M2 implements it over *gocql.Session. |
| 29 | type Executor interface { |
| 30 | Query(ctx context.Context, stmt Statement) (ResultSet, error) |
| 31 | Exec(ctx context.Context, stmt Statement) (ResultSet, error) |
| 32 | } |
| 33 | |
| 34 | const ( |
| 35 | defaultChunkSize = 100 |
nothing calls this directly
no outgoing calls
no test coverage detected