CountOperations
Interface grouping MongoDB operations relating to counting documents.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
Counts all documents in the collection.
Link copied to clipboard
open suspend fun exists(options: CountOptions<Document>.() -> Unit = {}, predicate: FilterQuery<Document>.() -> Unit): Boolean
Tests if there exists a document that matches predicate in the collection.