view tests/coalesce.ur @ 1873:90e81a8bd9da

Add <em> and <strong> tags
author Sergey Mironov <grrwlf@gmail.com>
date Mon, 07 Oct 2013 14:07:06 +0400
parents e44be6ece475
children
line wrap: on
line source
table t : { A : option int }

fun main () : transaction page =
    queryX (SELECT COALESCE(t.A, 13)
            FROM t)
    (fn r => <xml>{[r.1]},</xml>)