summaryrefslogtreecommitdiff
path: root/tests/crud1.ur
diff options
context:
space:
mode:
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)