summaryrefslogtreecommitdiff
path: root/lib/ur
diff options
context:
space:
mode:
authorGravatar Karn Kallio <kkallio@eka>2011-11-23 12:17:40 -0530
committerGravatar Karn Kallio <kkallio@eka>2011-11-23 12:17:40 -0530
commitbce3a31c8040f437fcb1d0a3e0440259ed851a9d (patch)
tree50be5eee01b33287ce0f9d137f9fd2dded507ed6 /lib/ur
parent7748e12ef233746b6ad92b21f474021f4135d51f (diff)
Add LIKE operator to SQL sublanguage.
Diffstat (limited to 'lib/ur')
-rw-r--r--lib/ur/basis.urs2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index f21faf38..fcce3a01 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -523,6 +523,8 @@ val sql_le : t ::: Type -> sql_binary t t bool
val sql_gt : t ::: Type -> sql_binary t t bool
val sql_ge : t ::: Type -> sql_binary t t bool
+val sql_like : sql_binary string string bool
+
val sql_count : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type}
-> sql_exp tables agg exps int