CountOperations

Interface grouping MongoDB operations relating to counting documents.

Inheritors

Properties

Link copied to clipboard
abstract val context: <Error class: unknown class>

Functions

Link copied to clipboard
abstract fun count(): Long

Counts how many documents exist in the collection.

abstract fun count(options: <Error class: unknown class><Document>.() -> Unit = {}, predicate: <Error class: unknown class><Document>.() -> Unit): Long

Counts how many documents match predicate in the collection.

Link copied to clipboard
abstract fun countEstimated(): Long

Counts all documents in the collection.