view tests/user.ur @ 1630:4798ad652c94

Stop [read] from raising an exception for invalid [int] strings
author Adam Chlipala <adam@chlipala.net>
date Sun, 04 Dec 2011 15:13:53 -0500
parents d1dbb9a3c804
children
line wrap: on
line source
table user : {A : int}

fun main () =
    r <- oneRow (SELECT COUNT( * ) AS N FROM user);
    return <xml>{[r.N]}</xml>