Mercurial > urweb
view tests/insert.ur @ 1697:cb0f05bdc183
Refactor SQL parsing code from Iflow to Sql, add querydml parser.
author | Edward Z. Yang <ezyang@mit.edu> |
---|---|
date | Mon, 12 Mar 2012 12:00:23 -0700 |
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>