Mercurial > urweb
diff tests/insert.ur @ 299:5f6a60b7ab00
Elaborated 'insert'
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sun, 07 Sep 2008 13:47:10 -0400 |
parents | |
children | bc89dfdbc495 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/insert.ur Sun Sep 07 13:47:10 2008 -0400 @@ -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>