diff lib/ur/basis.urs @ 1081:25d491287358

Basis.sql_nullable and Top.queryL
author Adam Chlipala <adamc@hcoop.net>
date Tue, 22 Dec 2009 12:13:23 -0500
parents 0657e5adc938
children ae885ad70d83
line wrap: on
line diff
--- a/lib/ur/basis.urs	Sun Dec 20 15:17:43 2009 -0500
+++ b/lib/ur/basis.urs	Tue Dec 22 12:13:23 2009 -0500
@@ -484,6 +484,11 @@
 val sql_octet_length : sql_ufunc blob int
 
 
+val sql_nullable : tables ::: {{Type}} -> agg ::: {{Type}} -> exps ::: {Type} -> t ::: Type
+                   -> sql_injectable_prim t
+                   -> sql_exp tables agg exps t
+                   -> sql_exp tables agg exps (option t)
+
 (*** Executing queries *)
 
 val query : tables ::: {{Type}} -> exps ::: {Type}