adam@1573: table t : { A : int, B : int } adam@1573: adam@1573: fun main () = adam@1573: x <- queryX (SELECT * FROM t WHERE IF t.A = 6 THEN t.B < 2 ELSE t.B > 5) adam@1573: (fn r => {[r.T.A]}, {[r.T.B]}); adam@1573: return {x}