Mercurial > urweb
view tests/sqlprecision.ur @ 1971:1e360ea06a09
Add basic year/month/day/hour/minute/second <-> time functions.
author | Patrick Hurst <phurst@mit.edu> |
---|---|
date | Thu, 05 Dec 2013 11:36:06 -0500 |
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>