aboutsummaryrefslogtreecommitdiffstats
path: root/lib/scl/ast.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/scl/ast.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/scl/ast.ml b/lib/scl/ast.ml
new file mode 100644
index 0000000..043f544
--- /dev/null
+++ b/lib/scl/ast.ml
@@ -0,0 +1,7 @@
+open Sexplib.Std
+
+type statement =
+ | Begin of { query : Drl.Ast.query; limit : int option }
+ | Fetch of { cursor : string; limit : int option }
+ | Close of { cursor : string }
+[@@deriving sexp]