view tests/showSql.ur @ 2213:365727ff68f4

Complete overhaul: cache queries based on immediate query result, not eventual HTML output.
author Ziv Scully <ziv@mit.edu>
date Tue, 14 Oct 2014 18:05:09 -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>