#788 - Deprecate findRowCount() ... add findCount(). Effectively renaming findRowCount() to findCount()

This commit is contained in:
Robin Bygrave
2016-07-31 19:06:21 +12:00
parent 7c83010df1
commit dc7c854432
37 changed files with 175 additions and 81 deletions
@@ -47,7 +47,7 @@ public class TestQueryRowCountWithMany extends BaseTestCase {
Assert.assertTrue(generatedSql.contains(" order by t0.cretime"));
int rowCount = query.findRowCount();
int rowCount = query.findCount();
// select count(*) from o_order t0
// left outer join o_order_detail t1 on t1.order_id = t0.id
@@ -84,7 +84,7 @@ public class TestQueryRowCountWithMany extends BaseTestCase {
.orderBy("cretime asc");
LoggedSqlCollector.start();
query.findRowCount();
query.findCount();
List<String> sqlLogged = LoggedSqlCollector.stop();