(rctx *runtime.Context, ast *parser.AST, readers []sio.Reader, parallelism int)
| 36 | } |
| 37 | |
| 38 | func (c *compiler) NewQuery(rctx *runtime.Context, ast *parser.AST, readers []sio.Reader, parallelism int) (runtime.Query, error) { |
| 39 | if parallelism == 0 { |
| 40 | parallelism = Parallelism |
| 41 | } |
| 42 | return CompileWithAST(rctx, ast, c.env, true, parallelism, readers) |
| 43 | } |
| 44 | |
| 45 | func (l *compiler) NewDeleteQuery(rctx *runtime.Context, ast *parser.AST, head *dbid.Commitish) (runtime.DeleteQuery, error) { |
| 46 | if err := ast.ConvertToDeleteWhere(head.Pool, head.Branch); err != nil { |
nothing calls this directly
no test coverage detected