Mercurial > urweb
view tests/sqlprecision.ur @ 2238:7f92d70a326e
Only use string (rather than numeric, etc.) primitives in parsed SQL statements.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Mon, 06 Jul 2015 01:31:04 -0700 |
parents | 2f33d9a51765 |
children |
line wrap: on
line source
table t : { N : float } fun insert r = dml (INSERT INTO t (N) VALUES ({[readError r.N]})); return <xml/> fun main () = return <xml><body> <form> <textbox{#N}/> <submit action={insert}/> </form> </body></xml>