summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-26 12:35:45 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-26 12:35:45 -0400
commita4d3d754e8b4fc6bad46f414a7d27228ab60107f (patch)
tree122ba347fb6260488aaec3aca188e6600d0125f9 /lib
parent8ae6d29e66997f90e36803d19f5b23b63a9c4a4b (diff)
sql_ufunc and octet_length
Diffstat (limited to 'lib')
-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 46218932..cd2ca588 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -363,6 +363,13 @@ val sql_nfunc : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type}
-> sql_nfunc t -> sql_exp tables agg exps t
val sql_current_timestamp : sql_nfunc time
+con sql_ufunc :: Type -> Type -> Type
+val sql_ufunc : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type}
+ -> dom ::: Type -> ran ::: Type
+ -> sql_ufunc dom ran -> sql_exp tables agg exps dom
+ -> sql_exp tables agg exps ran
+val sql_octet_length : sql_ufunc blob int
+
(*** Executing queries *)