#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
@@ -24,6 +24,8 @@ public class TestSubQuery extends BaseTestCase {
List<Integer> productIds = new ArrayList<>();
productIds.add(3);
productIds.add(4);
productIds.add(5);
Query<Order> sq = Ebean.createQuery(Order.class).select("id").where()
.in("details.product.id", productIds).query();