view tests/sqlprecision.ur @ 2235:0aae15c2a05a

Refactored a lot and fixed an and/or swap, but still not good on current test.
author Ziv Scully <ziv@mit.edu>
date Mon, 29 Jun 2015 01:33:47 -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>