view tests/selclause.ur @ 1884:5c30eea7aa78

ListPair.map2, based on code by escalier@riseup.net
author Adam Chlipala <adam@chlipala.net>
date Sun, 03 Nov 2013 19:27:30 -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)