aboutsummaryrefslogtreecommitdiffhomepage
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 00000000..58db4ef1
--- /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 t1 {A = 5, B = "6", C = 7.0, D = True});
+ return <html><body>Inserted.</body></html>