summaryrefslogtreecommitdiff
path: root/lib/ur/basis.urs
diff options
context:
space:
mode:
authorGravatar Karn Kallio <kkallio@eka>2011-10-14 01:33:03 -0530
committerGravatar Karn Kallio <kkallio@eka>2011-10-14 01:33:03 -0530
commit8a167261f4de68926907c3cc97f8252957274bff (patch)
tree50d09ebb9dd61e4c628d7bf29b2e9a2b0de01641 /lib/ur/basis.urs
parent8b909d991fe993c711d432cfc9928dc7ffbdbbac (diff)
IF THEN ELSE conditional for SQL.
Diffstat (limited to 'lib/ur/basis.urs')
-rw-r--r--lib/ur/basis.urs7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index 70c1ef55..73ee8e2b 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -474,6 +474,13 @@ val sql_is_null : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type}
-> sql_exp tables agg exps (option t)
-> sql_exp tables agg exps bool
+val sql_if_then_else : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type}
+ -> t ::: Type
+ -> sql_exp tables agg exps bool
+ -> sql_exp tables agg exps t
+ -> sql_exp tables agg exps t
+ -> sql_exp tables agg exps t
+
class sql_arith
val sql_arith_int : sql_arith int
val sql_arith_float : sql_arith float