summaryrefslogtreecommitdiff
path: root/lib/ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2010-03-28 10:10:35 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2010-03-28 10:10:35 -0400
commit163747f5d60201ae83f2e57b72ee5d32b247cae5 (patch)
treed6d6457b5fdf636466cb52b2afddefcc61d65635 /lib/ur
parentff8b80dbb7cc9e5b8a48efbbf6f2f1009e1ab68e (diff)
Make SELECT FROM clauses optional
Diffstat (limited to 'lib/ur')
-rw-r--r--lib/ur/basis.urs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ur/basis.urs b/lib/ur/basis.urs
index c75eea1b..8388e107 100644
--- a/lib/ur/basis.urs
+++ b/lib/ur/basis.urs
@@ -292,6 +292,7 @@ val sql_subset_concat : big1 ::: {{Type}} -> little1 ::: {{Type}}
con sql_from_items :: {{Type}} -> {{Type}} -> Type
+val sql_from_nil : free ::: {{Type}} -> sql_from_items free []
val sql_from_table : free ::: {{Type}} -> t ::: Type -> fs ::: {Type}
-> fieldsOf t fs -> name :: Name
-> t -> sql_from_items free [name = fs]