FindOperations

Interface grouping MongoDB operations allowing to search for information.

Inheritors

Properties

Link copied to clipboard
abstract val context: ERROR CLASS: Symbol not found for BsonContext

Functions

Link copied to clipboard
abstract fun find(): MongoIterable<Document>

Finds all documents in this collection.

abstract fun find(options: ERROR CLASS: Symbol not found for FindOptions<Document>.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery<Document>.() -> Unit): MongoIterable<Document>

Finds all documents in this collection that satisfy filter.

Link copied to clipboard
open suspend fun findOne(options: ERROR CLASS: Symbol not found for FindOptions<Document>.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery<Document>.() -> Unit): Document?

Finds a document in this collection that satisfies filter.