Merge "Add method to AccountAccess interface to get all accounts ordered by ID"
This commit is contained in:
@@ -46,4 +46,7 @@ public interface AccountAccess extends Access<Account, Account.Id> {
|
|||||||
|
|
||||||
@Query("ORDER BY accountId LIMIT ?")
|
@Query("ORDER BY accountId LIMIT ?")
|
||||||
ResultSet<Account> firstNById(int n) throws OrmException;
|
ResultSet<Account> firstNById(int n) throws OrmException;
|
||||||
|
|
||||||
|
@Query("ORDER BY accountId")
|
||||||
|
ResultSet<Account> all() throws OrmException;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user