summaryrefslogtreecommitdiff
path: root/tests/crud1.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-09-11 17:41:52 -0400
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-09-11 17:41:52 -0400
commit48b9d4dae3d1ca6ff39e71571a6db3a43497c9f9 (patch)
tree22ffe528ac30aa133fde37ddcafb13a92cd22357 /tests/crud1.ur
parent05fbd01cabc967d7216d8cbe701ac10ad797b122 (diff)
Crud listing IDs
Diffstat (limited to 'tests/crud1.ur')
-rw-r--r--tests/crud1.ur14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/crud1.ur b/tests/crud1.ur
new file mode 100644
index 00000000..2253d459
--- /dev/null
+++ b/tests/crud1.ur
@@ -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)