We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 55df061 + 0fba473 commit 0b3b6a6Copy full SHA for 0b3b6a6
query/evaluate.go
@@ -0,0 +1,9 @@
1
+package query
2
+
3
+type QueryEvaluator interface {
4
+ EvaluateAST(ast *AST, options *QueryOptions) (*SelectQuery, error)
5
+}
6
7
+func (t *AST) Evaluate(options *QueryOptions, evaluator QueryEvaluator) (*SelectQuery, error) {
8
+ return evaluator.EvaluateAST(t, options)
9
0 commit comments