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