Ability to use order(<orderByClause>) on filterMany() (related to #1943) #1964

This commit is contained in:
rob bygrave
2020-03-03 22:31:01 +13:00
parent 4767aff046
commit ddf3c753d6
15 changed files with 49 additions and 42 deletions
@@ -25,7 +25,7 @@ public class TestQueryFindEach extends BaseTestCase {
= server.find(Customer.class)
.setAutoTune(false)
.fetch("contacts", new FetchConfig().query(2)).where().gt("id", 0).order("id")
.setMaxRows(2);
.setMaxRows(2).query();
final AtomicInteger counter = new AtomicInteger(0);
@@ -49,7 +49,7 @@ public class TestQueryFindEach extends BaseTestCase {
Query<Customer> query = server.find(Customer.class).setAutoTune(false)
.fetch("contacts", new FetchConfig().query(2)).where().gt("id", 0).order("id")
.setMaxRows(2);
.setMaxRows(2).query();
final AtomicInteger counter = new AtomicInteger(0);