aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/update.ur
blob: 6d8060d01d9e686b471093fdcd327ac2c3e1a558 (plain)
1
2
3
4
5
table t1 : {A : int, B : string, C : float, D : bool}

fun main () : transaction page =
        () <- dml (UPDATE t1 SET B = 'Hi', C = 12.34 WHERE A = 5);
        return <html><body>Updated.</body></html>