log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
urweb
comparison tests/coalesce.ur @ 1602:e44be6ece475
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
COALESCE
author
Adam Chlipala <adam@chlipala.net>
date
Sat, 19 Nov 2011 10:43:57 -0500
parents
children
comparison
equal
deleted
inserted
replaced
1601:78e0d56b594e
1602:e44be6ece475
1
table t : { A : option int }
2
3
fun main () : transaction page =
4
queryX (SELECT COALESCE(t.A, 13)
5
FROM t)
6
(fn r => <xml>{[r.1]},</xml>)