Mercurial > urweb
view tests/selclause.ur @ 1886:b7cd3c7c7edd
Interpret 'table' signature items more flexibly, automatically adding (Ur) constraints to support a kind of subtyping over (SQL) constraint sets
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 04 Nov 2013 15:14:23 -0500 |
parents | 5c1f10cdac63 |
children |
line wrap: on
line source
table t : { A : int, B : string, C : float } table u : { D : int, E : string, F : float } val q : transaction (list {T : { A : int, B : string, C : float}, U : { D : int }, X : string }) = queryL (SELECT t.*, u.D, 'hi' AS X FROM t, u)