diff options
author | Karn Kallio <kkallio@eka> | 2011-10-14 01:33:03 -0530 |
---|---|---|
committer | Karn Kallio <kkallio@eka> | 2011-10-14 01:33:03 -0530 |
commit | 8a167261f4de68926907c3cc97f8252957274bff (patch) | |
tree | 50d09ebb9dd61e4c628d7bf29b2e9a2b0de01641 /lib | |
parent | 8b909d991fe993c711d432cfc9928dc7ffbdbbac (diff) |
IF THEN ELSE conditional for SQL.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ur/basis.urs | 7 |
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 |