CountOperations
Interface grouping MongoDB operations relating to counting documents.
Inheritors
Properties
Functions
Link copied to clipboard
Counts how many documents exist in the collection.
abstract suspend fun count(options: ERROR CLASS: Symbol not found for CountOptions<Document>.() -> Unit = {}, predicate: ERROR CLASS: Symbol not found for FilterQuery<Document>.() -> Unit): Long
Counts how many documents match predicate in the collection.
Link copied to clipboard
Counts all documents in the collection.