summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-08-21 13:47:18 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-08-21 13:47:18 -0400
commit71e2a7c3c0fd3cbf7e472e85b491ed890fe5976c (patch)
tree0885d7c7ba8f99ce0be70a96bf4e00891b4b13e2 /lib
parent808b837c2243cb07b2979c030fabd0963fad8af0 (diff)
Change [sql_field] type to get 'where' test to check again
Diffstat (limited to 'lib')
-rw-r--r--lib/basis.lig3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/basis.lig b/lib/basis.lig
index 099caab8..7b6f0917 100644
--- a/lib/basis.lig
+++ b/lib/basis.lig
@@ -39,9 +39,8 @@ val sql_query : tables ::: {{Type}}
SelectFields : sql_subset grouped selected}
-> sql_query selected
-val sql_field : otherTabs ::: {{Type}} -> otherFields ::: {Type} -> fieldType ::: Type
+val sql_field : otherTabs ::: {{Type}} -> otherFields ::: {Type} -> fieldType ::: Type -> agg ::: {{Type}}
-> tab :: Name -> field :: Name
- -> agg ::: {{Type}}
-> sql_exp ([tab = [field = fieldType] ++ otherFields] ++ otherTabs) agg fieldType
class sql_injectable