Merge "Add method to AccountAccess interface to get all accounts ordered by ID"

This commit is contained in:
Shawn Pearce
2014-03-06 20:36:24 +00:00
committed by Gerrit Code Review

View File

@@ -46,4 +46,7 @@ public interface AccountAccess extends Access<Account, Account.Id> {
@Query("ORDER BY accountId LIMIT ?")
ResultSet<Account> firstNById(int n) throws OrmException;
@Query("ORDER BY accountId")
ResultSet<Account> all() throws OrmException;
}