view tests/nomangle.ur @ 2199:251dd276f45f

Change Postgres schema-checking code to account properly for namespaces
author Adam Chlipala <adam@chlipala.net>
date Tue, 08 Dec 2015 17:29:24 -0500
parents f55b0e45422f
children
line wrap: on
line source
table foo : { Bar : int, Baz : string }
  PRIMARY KEY Baz

fun main () : transaction page =
    rs <- queryX1 (SELECT foo.Bar FROM foo WHERE foo.Baz = 'Hi')
          (fn r => <xml>{[r.Bar]}</xml>);
    return <xml><body>{rs}</body></xml>