#1186 - ENH: Support using TableValues / Array for select prop in (?) queries

Use Postgres Array ANY and ALL without select unnest
This commit is contained in:
rob bygrave
2017-10-31 22:09:35 +13:00
parent 5bccdccbd6
commit 1e1c518641
34 changed files with 157 additions and 117 deletions
@@ -57,7 +57,8 @@ public class TestQueryFetchManyTwoDeep extends BaseTestCase {
//SpiQuery<?> secondaryQuery = secondaryQueries.get(0);
String secondarySql = sql.get(1);
assertThat(secondarySql).contains("from o_order_detail t0 where t0.id > 0 and (t0.order_id) in");
assertThat(secondarySql).contains("from o_order_detail t0 where t0.id > 0 and (t0.order_id) ");
platformAssertIn(secondarySql, "(t0.order_id)");
// select t0.order_id c0, t0.id c1, t0.order_qty c2, t0.ship_qty c3, t0.unit_price c4, t0.cretime c5, t0.updtime c6, t0.order_id c7, t0.product_id c8
// from o_order_detail t0