diff src/core_env.sml @ 754:8688e01ae469

A view query works
author Adam Chlipala <adamc@hcoop.net>
date Tue, 28 Apr 2009 15:04:37 -0400
parents acb8537f58f0
children 61a1f5c5ae2c
line wrap: on
line diff
--- a/src/core_env.sml	Tue Apr 28 14:02:23 2009 -0400
+++ b/src/core_env.sml	Tue Apr 28 15:04:37 2009 -0400
@@ -327,6 +327,13 @@
         in
             pushENamed env x n t NONE s
         end
+      | DView (x, n, s, _, c) =>
+        let
+            val ct = (CFfi ("Basis", "sql_view"), loc)
+            val ct = (CApp (ct, c), loc)
+        in
+            pushENamed env x n ct NONE s
+        end
       | DDatabase _ => env
       | DCookie (x, n, c, s) =>
         let