diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/insert.ur | 5 | ||||
-rw-r--r-- | tests/insert.urp | 6 |
2 files changed, 11 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> diff --git a/tests/insert.urp b/tests/insert.urp new file mode 100644 index 00000000..20d24480 --- /dev/null +++ b/tests/insert.urp @@ -0,0 +1,6 @@ +debug +database dbname=test +exe /tmp/webapp +sql /tmp/urweb.sql + +insert |