mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
#589 - ElasticSearch - DocStoreConfig ... mapping path, suffix, resources
This commit is contained in:
1 parent
f2ffbb2c5b
commit
7fc58a1842
2 files changed
+63
No files matched your search
@@ -1368,6 +1368,10 @@ public final class DefaultServer implements SpiServer, SpiEbeanServer {
|
||||
public <T> void findEachWhile(Query<T> query, QueryEachWhileConsumer<T> consumer, Transaction t) {
|
||||
|
||||
SpiOrmQueryRequest<T> request = createQueryRequest(Type.ITERATE, query, t);
|
||||
if (request.isUseDocStore()) {
|
||||
docStore().findEachWhile(query, consumer);
|
||||
return;
|
||||
}
|
||||
|
||||
request.initTransIfRequired();
|
||||
request.findEachWhile(consumer);
|
||||
|
||||
Reference in new issue
Block a user