diff tests/crud1.ur @ 325:e457d8972ff1

Crud listing IDs
author Adam Chlipala <adamc@hcoop.net>
date Thu, 11 Sep 2008 17:41:52 -0400
parents
children 34847732cefc
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/crud1.ur	Thu Sep 11 17:41:52 2008 -0400
@@ -0,0 +1,14 @@
+table t1 : {Id : int, A : int, B : string, C : float, D : bool}
+
+open Crud.Make(struct
+        val tab = t1
+
+        val title = "Crud1"
+
+        val cols = {
+                A = {Show = txt _},
+                B = {Show = txt _},
+                C = {Show = txt _},
+                D = {Show = txt _}
+        }
+end)