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 MongoIterable.

Link copied to clipboard
Link copied to clipboard
class MongoAggregationPipeline<Output : Any> : <ERROR CLASS> ERROR CLASS: Symbol not found for AbstractPipeline<Output>, <ERROR CLASS> ERROR CLASS: Symbol not found for AggregationPipeline<Output>, LazyMongoIterable<Output>
Link copied to clipboard

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

Functions

Link copied to clipboard
Link copied to clipboard

Converts a MongoDB MongoIterable into a KtMongo MongoIterable.

fun <Document : Any> MongoCollection<Document>.asKtMongo(nameStrategy: PropertyNameStrategy = PropertyNameStrategy.Default): JvmMongoCollection<Document>

Converts a MongoDB collection into a KtMongo collection.

Link copied to clipboard
fun <Document : Any> MongoCollection<Document>.filter(filter: ERROR CLASS: Symbol not found for FilterQuery<Document>.() -> Unit): MongoCollection<Document>

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <Document : Any> LazyMongoIterable<Document>.forEach(noinline action: (Document) -> Unit)
Link copied to clipboard
Link copied to clipboard