MongoDB driver for Kotlin (coroutines) • opensavvy.ktmongo.coroutines • JvmMongoCollection • count
count¶
Counts how many documents exist in the collection.
External resources¶
See also¶
JvmMongoCollection.countEstimated
Faster alternative when the result doesn't need to be exact.