Make FindByAnalytics count the same as FindByQuery. (#1334)
Closes #1331.
This commit is contained in:
committed by
Michael Reiche
parent
4feda42a59
commit
e3fed4c7d6
@@ -149,7 +149,8 @@ public class ReactiveFindByAnalyticsOperationSupport implements ReactiveFindByAn
|
||||
} else {
|
||||
return throwable;
|
||||
}
|
||||
}).flatMapMany(ReactiveAnalyticsResult::rowsAsObject).map(row -> row.getLong("__count")).next();
|
||||
}).flatMapMany(ReactiveAnalyticsResult::rowsAsObject)
|
||||
.map(row -> row.getLong(row.getNames().iterator().next())).next();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user