Packages

object MongoFlow

Source
MongoFlow.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoFlow
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

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

    A Flow that will delete many documents as defined by a Bson filter query.

    collection

    the mongo db collection to update.

    options

    options to apply to the operation

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

    A Flow that will delete many documents as defined by a Bson filter query.

    collection

    the mongo db collection to update.

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

    A Flow that will delete individual documents as defined by a Bson filter query.

    collection

    the mongo db collection to update.

    options

    options to apply to the operation

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

    A Flow that will delete individual documents as defined by a Bson filter query.

    collection

    the mongo db collection to update.

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

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

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

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

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

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

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

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

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