summaryrefslogtreecommitdiff
path: root/src/expl_env.sml
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-04-28 15:04:37 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-04-28 15:04:37 -0400
commit81138f15749d9fcd2b6056d4c4cd8c0edc5fce4b (patch)
treee4e2246dc15a7cbbf067401a21197b6fd17ea95b /src/expl_env.sml
parent488033c82277ffe87f8fbd32ccd52298e0883743 (diff)
A view query works
Diffstat (limited to 'src/expl_env.sml')
-rw-r--r--src/expl_env.sml7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/expl_env.sml b/src/expl_env.sml
index 1e99b36b..2bb049a3 100644
--- a/src/expl_env.sml
+++ b/src/expl_env.sml
@@ -312,6 +312,13 @@ fun declBinds env (d, loc) =
in
pushENamed env x n t
end
+ | DView (tn, x, n, _, c) =>
+ let
+ val ct = (CModProj (tn, [], "sql_view"), loc)
+ val ct = (CApp (ct, c), loc)
+ in
+ pushENamed env x n ct
+ end
| DDatabase _ => env
| DCookie (tn, x, n, c) =>
let