aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sublanguage_types.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-04-23 11:26:55 -0700
committerGitHub <noreply@github.com>2026-04-23 11:26:55 -0700
commit12f170f438f5909511da2f26c5d33a85acc1fe64 (patch)
treeb7003f7f99c242993598ab867894da65f91f60a8 /lib/sublanguage_types.ml
parent29e00769046cbc8cd020b2b7c47448d89f21ab39 (diff)
downloadSakura-12f170f438f5909511da2f26c5d33a85acc1fe64.tar.gz
Sakura-12f170f438f5909511da2f26c5d33a85acc1fe64.zip
Add build deps and sublanguage directory struct for dune
Diffstat (limited to 'lib/sublanguage_types.ml')
-rw-r--r--lib/sublanguage_types.ml10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sublanguage_types.ml b/lib/sublanguage_types.ml
new file mode 100644
index 0000000..b4b6b29
--- /dev/null
+++ b/lib/sublanguage_types.ml
@@ -0,0 +1,10 @@
+type cursor_result = {
+ cursor_id : string;
+ rows : Tuple.materialized list;
+ has_more : bool;
+}
+
+type result =
+ | Query of Relation.t
+ | Transition of Management.Database.t * string
+ | Cursor of cursor_result