mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-22 15:10:02 +00:00
Add support for findEach() on SqlQuery with RowMapper and scalar result
This commit is contained in:
1 parent
1df2ccb1c6
commit
f3af43a9ce
9 files changed
+107
-8
No files matched your search
@@ -365,5 +365,10 @@ public interface SqlQuery extends Serializable {
|
||||
* Return the list of values.
|
||||
*/
|
||||
List<T> findList();
|
||||
|
||||
/**
|
||||
* Find streaming the result effectively consuming a row at a time.
|
||||
*/
|
||||
void findEach(Consumer<T> consumer);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user