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