summaryrefslogtreecommitdiff
path: root/tests/showSql.ur
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2012-08-22 08:46:32 -0400
committerGravatar Adam Chlipala <adam@chlipala.net>2012-08-22 08:46:32 -0400
commitfec2293fe7e6fb3141e033495723df8a26c8da75 (patch)
treef8f0044758a9e4cba7b94e23ca89d220eaee9989 /tests/showSql.ur
parentb3c120ed994c7fca812cc6a49935e9e9cbd3490f (diff)
show_sql_query
Diffstat (limited to 'tests/showSql.ur')
-rw-r--r--tests/showSql.ur5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/showSql.ur b/tests/showSql.ur
new file mode 100644
index 00000000..c373b21c
--- /dev/null
+++ b/tests/showSql.ur
@@ -0,0 +1,5 @@
+table t : { A : int }
+
+fun main () : transaction page = return <xml><body>
+ {[(SELECT t.A FROM t ORDER BY t.A DESC) : sql_query [] [] _ _]}
+</body></xml>