Package-level declarations

Declaration and implementation of collections and iterables.

Types

Link copied to clipboard

Implementation of MongoCollection based on MongoDB's MongoCollection.

Link copied to clipboard

Implementation of MongoIterable based on MongoDB's FindFlow.

Link copied to clipboard

Streaming-ready iterable client to read data from the database.

Functions

Link copied to clipboard

Converts a MongoDB FindFlow into a KtMongo MongoIterable.

Converts a MongoDB collection into a KtMongo collection.

Link copied to clipboard
fun <Document : Any> MongoCollection<Document>.filter(filter: <Error class: unknown class><Document>.() -> Unit): MongoCollection<Document>

Returns a filtered collection that only contains the elements that match filter.