(ctx context.Context, inputs []srcfiles.Input)
| 108 | } |
| 109 | |
| 110 | func (l *local) Query(ctx context.Context, inputs []srcfiles.Input) (vio.Scanner, error) { |
| 111 | ast, err := parser.ParseFiles(inputs) |
| 112 | if err != nil { |
| 113 | return nil, err |
| 114 | } |
| 115 | q, err := runtime.CompileQueryForDB(ctx, super.NewContext(), l.compiler, ast) |
| 116 | if err != nil { |
| 117 | return nil, err |
| 118 | } |
| 119 | return q, nil |
| 120 | } |
| 121 | |
| 122 | func (l *local) PoolID(ctx context.Context, poolName string) (ksuid.KSUID, error) { |
| 123 | if poolName == "" { |
nothing calls this directly
no test coverage detected