summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-04-11 10:57:52 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-04-11 10:57:52 -0400
commit7b4f69ace67601a0f22de52f91f96deff540fd37 (patch)
tree7ff2be71b58e08eb16f904eb5ac254fa2e2d10f2 /lib
parent7d88a1ff974ad5eb76dd12f63d9063d8bd48583b (diff)
Insert policies
Diffstat (limited to 'lib')
-rw-r--r--lib/ur/basis.urs4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index 959a050d..8ae6597e 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -804,5 +804,9 @@ val sendClient : tables ::: {{Type}} -> exps ::: {Type}
-> [tables ~ exps] => sql_query [] tables exps
-> sql_policy
+val mayInsert : fs ::: {Type} -> tables ::: {{Type}} -> [[New] ~ tables]
+ => sql_query [] ([New = fs] ++ tables) []
+ -> sql_policy
+
val debug : string -> transaction unit