summaryrefslogtreecommitdiff
path: root/lib/ur/basis.urs
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
commitc53ff24e7f0d2c57713a4dfcb8c17b7a1ea82507 (patch)
tree7ff2be71b58e08eb16f904eb5ac254fa2e2d10f2 /lib/ur/basis.urs
parent4c4e85c928251ca36f28973f9589a291224fd556 (diff)
Insert policies
Diffstat (limited to 'lib/ur/basis.urs')
-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