summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-16 17:18:00 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-16 17:18:00 -0400
commitfbebdf5fa84afd716dea471e3995b6d3a7878e37 (patch)
treebd9b2473290374cffe4d949abc3c7ed936b464e6 /lib
parent7910af6db28602b2fb5d3c9c5227bcc3c076acdc (diff)
SQL comparison operators
Diffstat (limited to 'lib')
-rw-r--r--lib/basis.lig10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/basis.lig b/lib/basis.lig
index 01b3fab8..1343e449 100644
--- a/lib/basis.lig
+++ b/lib/basis.lig
@@ -34,6 +34,16 @@ val sql_string : sql_type string
val sql_inject : tables ::: {{Type}} -> t ::: Type -> t -> sql_type t -> sql_exp tables t
+type sql_comparison
+val sql_eq : sql_comparison
+val sql_ne : sql_comparison
+val sql_lt : sql_comparison
+val sql_le : sql_comparison
+val sql_gt : sql_comparison
+val sql_ge : sql_comparison
+val sql_comparison : sql_comparison
+ -> tables ::: {{Type}} -> t ::: Type -> sql_exp tables t -> sql_exp tables t
+ -> sql_type t -> sql_exp tables bool
(** XML *)