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
commit067c8d9d0e11ee60eed428a9f8472c2e1e6edff0 (patch)
treef8f0044758a9e4cba7b94e23ca89d220eaee9989 /tests/showSql.ur
parent7072be499e0f9837227555f73834f18463d1bd24 (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>