Skip to content

Commit

Permalink
Merge branch 'support/2.27' into bugfix/2195-s3a-and-s3n-path-are-not…
Browse files Browse the repository at this point in the history
…-correctly-handled
  • Loading branch information
benedeki authored Dec 8, 2023
2 parents c766f81 + fc5a512 commit d282877
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ abstract class MongoRepository[C](mongoDb: MongoDatabase)(implicit ct: ClassTag[
}

def count(): Future[Long] = {
collection.countDocuments().toFuture()
collection.estimatedDocumentCount().toFuture()
}

private[repositories] def getNameFilter(name: String): Bson = {
Expand Down

0 comments on commit d282877

Please sign in to comment.