summaryrefslogtreecommitdiff
path: root/tests/insert.ur
diff options
context:
space:
mode:
Diffstat (limited to 'tests/insert.ur')
-rw-r--r--tests/insert.ur5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/insert.ur b/tests/insert.ur
new file mode 100644
index 0000000..c718fb7
--- /dev/null
+++ b/tests/insert.ur
@@ -0,0 +1,5 @@
+table t1 : {A : int, B : string, C : float, D : bool}
+
+fun main () : transaction page =
+ () <- dml (INSERT INTO t1 (A, B, C, D) VALUES (5, "6", 7.0, TRUE));
+ return <html><body>Inserted.</body></html>