Beispiel #1
0
 public static DbIterator<Vote> getVotes(long pollId, int from, int to) {
   return voteTable.getManyBy(new DbClause.LongClause("poll_id", pollId), from, to);
 }
Beispiel #2
0
 public static DbIterator<Asset> getAssetsIssuedBy(long accountId, int from, int to) {
   return assetTable.getManyBy(new DbClause.LongClause("account_id", accountId), from, to);
 }