object MongoFlow
- Source
- MongoFlow.scala
- Alphabetic
- By Inheritance
- MongoFlow
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def deleteMany[T](collection: MongoCollection[T], options: DeleteOptions = DefaultDeleteOptions): Flow[Bson, (DeleteResult, Bson), NotUsed]
A Flow that will delete many documents as defined by a Bson filter query.
- def deleteOne[T](collection: MongoCollection[T], options: DeleteOptions = DefaultDeleteOptions): Flow[Bson, (DeleteResult, Bson), NotUsed]
A Flow that will delete individual documents as defined by a Bson filter query.
- def insertMany[T](collection: MongoCollection[T], options: InsertManyOptions = DefaultInsertManyOptions): Flow[Seq[T], Seq[T], NotUsed]
A Flow that will insert batches documents into a collection.
A Flow that will insert batches documents into a collection.
- collection
mongo db collection to insert to.
- options
options to apply to the operation
- def insertOne[T](collection: MongoCollection[T], options: InsertOneOptions = DefaultInsertOneOptions): Flow[T, T, NotUsed]
A Flow that will insert documents into a collection.
A Flow that will insert documents into a collection.
- collection
mongo db collection to insert to.
- options
options to apply to the operation
- def replaceOne[T](collection: MongoCollection[T], options: ReplaceOptions = DefaultReplaceOptions): Flow[DocumentReplace[T], (UpdateResult, DocumentReplace[T]), NotUsed]
A Flow that will replace document as defined by a DocumentReplace.
A Flow that will replace document as defined by a DocumentReplace.
- collection
the mongo db collection to update.
- options
options to apply to the operation
- def updateMany[T](collection: MongoCollection[T], options: UpdateOptions = DefaultUpdateOptions): Flow[DocumentUpdate, (UpdateResult, DocumentUpdate), NotUsed]
A Flow that will update many documents as defined by a DocumentUpdate.
A Flow that will update many documents as defined by a DocumentUpdate.
- collection
the mongo db collection to update.
- options
options to apply to the operation
- def updateOne[T](collection: MongoCollection[T], options: UpdateOptions = DefaultUpdateOptions): Flow[DocumentUpdate, (UpdateResult, DocumentUpdate), NotUsed]
A Flow that will update documents as defined by a DocumentUpdate.
A Flow that will update documents as defined by a DocumentUpdate.
- collection
the mongo db collection to update.
- options
options to apply to the operation