Mercurial > urweb
view tests/insert.ur @ 1763:22858505bb2d
Allow RPC and run it synchronously in onunload event.
author | Vladimir Shabanov <vshabanoff@gmail.com> |
---|---|
date | Wed, 16 May 2012 22:46:35 +0400 |
parents | bc89dfdbc495 |
children |
line wrap: on
line source
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>