view tests/showSql.ur @ 2204:01c8aceac480

Finishes initial prototype, caching parameterless pages with table-match-based invalidation. Still has problems parsing non-Postgres SQL dialects properly.
author Ziv Scully <ziv@mit.edu>
date Tue, 27 May 2014 21:14:13 -0400
parents b8558b613abd
children
line wrap: on
line source
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>