summaryrefslogtreecommitdiff
path: root/tests/showSql.ur
diff options
context:
space:
mode:
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 0000000..c373b21
--- /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>