diff options
author | Adam Chlipala <adam@chlipala.net> | 2012-08-22 08:46:32 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2012-08-22 08:46:32 -0400 |
commit | fec2293fe7e6fb3141e033495723df8a26c8da75 (patch) | |
tree | f8f0044758a9e4cba7b94e23ca89d220eaee9989 /tests | |
parent | b3c120ed994c7fca812cc6a49935e9e9cbd3490f (diff) |
show_sql_query
Diffstat (limited to 'tests')
-rw-r--r-- | tests/showSql.ur | 5 | ||||
-rw-r--r-- | tests/showSql.urp | 3 |
2 files changed, 8 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> diff --git a/tests/showSql.urp b/tests/showSql.urp new file mode 100644 index 00000000..415248cd --- /dev/null +++ b/tests/showSql.urp @@ -0,0 +1,3 @@ +database dbname=test + +showSql |