summaryrefslogtreecommitdiff
path: root/tests/showSql.ur
diff options
context:
space:
mode:
authorBenjamin Barenblat <bbaren@mit.edu>2017-07-23 09:50:04 -0400
committerBenjamin Barenblat <bbaren@mit.edu>2017-07-23 09:50:04 -0400
commit0cccdb0ae595cd7e3e136e984ac7b95b99f71a53 (patch)
tree491d3b13813610943c60460d3e178d3a73916346 /tests/showSql.ur
Import urweb_20170720+dfsg.orig.tar.gz
[dgit import orig urweb_20170720+dfsg.orig.tar.gz]
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>