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): Flow[Bson, Pair[DeleteResult, Bson], NotUsed]
A Flow that will delete many documents as defined by a Bson filter query.
- def deleteMany[T](collection: MongoCollection[T]): Flow[Bson, Pair[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): Flow[Bson, Pair[DeleteResult, Bson], NotUsed]
A Flow that will delete individual documents as defined by a Bson filter query.
- def deleteOne[T](collection: MongoCollection[T]): Flow[Bson, Pair[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): Flow[List[T], List[T], NotUsed]
A Flow that will insert batches of documents into a collection.
A Flow that will insert batches of documents into a collection.
- collection
mongo db collection to insert to.
- options
options to apply to the operation
- def insertMany[T](collection: MongoCollection[T]): Flow[List[T], List[T], NotUsed]
A Flow that will insert batches of documents into a collection.
A Flow that will insert batches of documents into a collection.
- collection
mongo db collection to insert to.
- def insertOne[T](collection: MongoCollection[T], options: InsertOneOptions): 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 insertOne[T](collection: MongoCollection[T]): 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.
- def replaceOne[T](collection: MongoCollection[T], options: ReplaceOptions = DefaultReplaceOptions): Flow[DocumentReplace[T], Pair[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, Pair[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 updateMany[T](collection: MongoCollection[T]): Flow[DocumentUpdate, Pair[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.
- def updateOne[T](collection: MongoCollection[T], options: UpdateOptions): Flow[DocumentUpdate, Pair[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
- def updateOne[T](collection: MongoCollection[T]): Flow[DocumentUpdate, Pair[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.