Class/Object

play.modules.reactivemongo.json.collection

JSONCollection

Related Docs: object JSONCollection | package collection

Permalink

class JSONCollection extends GenericCollection[reactivemongo.play.json.JSONSerializationPack.type] with CollectionMetaCommands with Product with Serializable

A Collection that interacts with the Play JSON library, using Reads and Writes.

Annotations
@deprecated
Deprecated

(Since version 0.12.0) Use reactivemongo.play.json.collection.JSONCollection

Linear Supertypes
Serializable, Serializable, Product, Equals, GenericCollection[reactivemongo.play.json.JSONSerializationPack.type], reactivemongo.api.collections.Aggregator[reactivemongo.play.json.JSONSerializationPack.type], UpdateOps[reactivemongo.play.json.JSONSerializationPack.type], InsertOps[reactivemongo.play.json.JSONSerializationPack.type], ImplicitCommandHelpers[reactivemongo.play.json.JSONSerializationPack.type], CollectionMetaCommands, GenericCollectionWithCommands[reactivemongo.play.json.JSONSerializationPack.type], Collection, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JSONCollection
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. GenericCollection
  7. Aggregator
  8. UpdateOps
  9. InsertOps
  10. ImplicitCommandHelpers
  11. CollectionMetaCommands
  12. GenericCollectionWithCommands
  13. Collection
  14. AnyRef
  15. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JSONCollection(db: DB, name: String, failoverStrategy: FailoverStrategy, readPreference: ReadPreference)

    Permalink
  2. new JSONCollection(db: DB, name: String, failoverStrategy: FailoverStrategy)

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use the constructor with ReadPreference

Type Members

  1. type AggregationFramework = AggregationFramework.type

    Permalink
    Definition Classes
    GenericCollection
  2. final class Aggregator[T, AC[_] <: Cursor[_]] extends AnyRef

    Permalink
    Definition Classes
    Aggregator
  3. final class AggregatorContext[T] extends AnyRef

    Permalink
    Definition Classes
    Aggregator
  4. trait ImplicitlyDocumentProducer extends AnyRef

    Permalink
    Definition Classes
    ImplicitCommandHelpers
  5. sealed trait InsertBuilder[T] extends AnyRef

    Permalink
    Definition Classes
    InsertOps
  6. type PipelineOperator = commands.JSONAggregationFramework.PipelineOperator

    Permalink
    Definition Classes
    GenericCollection
  7. sealed trait UpdateBuilder extends AnyRef

    Permalink
    Definition Classes
    UpdateOps
  8. sealed trait BulkMaker[R, S <: BulkMaker[R, S]] extends AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Unused

  9. class Mongo26WriteCommand extends BulkMaker[WriteResult, Mongo26WriteCommand]

    Permalink
    Attributes
    protected
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Unused

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from JSONCollection to any2stringadd[JSONCollection] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JSONCollection, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from JSONCollection to ArrowAssoc[JSONCollection] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. val BatchCommands: JSONBatchCommands.type

    Permalink
    Definition Classes
    JSONCollection → GenericCollection
  7. def MissingMetadata(): ConnectionNotInitialized

    Permalink
    Attributes
    protected
    Definition Classes
    GenericCollection
    Annotations
    @inline()
  8. implicit def PackIdentityReader: Reader[Document]

    Permalink
    Definition Classes
    GenericCollection
  9. implicit def PackIdentityWriter: Writer[Document]

    Permalink
    Definition Classes
    GenericCollection
  10. def aggregate(firstOperator: PipelineOperator, otherOperators: List[PipelineOperator], explain: Boolean, allowDiskUse: Boolean, bypassDocumentValidation: Boolean, readConcern: Option[ReadConcern])(implicit ec: ExecutionContext): Future[commands.JSONAggregationFramework.AggregationResult]

    Permalink
    Definition Classes
    GenericCollection
  11. def aggregateWith1[T](explain: Boolean, allowDiskUse: Boolean, bypassDocumentValidation: Boolean, readConcern: Option[ReadConcern], readPreference: ReadPreference, batchSize: Option[Int])(f: (AggregationFramework) ⇒ (PipelineOperator, List[PipelineOperator]))(implicit ec: ExecutionContext, reader: Reader[T], cf: CursorFlattener[Cursor], cp: CursorProducer[T]): ProducedCursor

    Permalink
    Definition Classes
    GenericCollection
  12. def aggregatorContext[T](firstOperator: PipelineOperator, otherOperators: List[PipelineOperator], explain: Boolean, allowDiskUse: Boolean, bypassDocumentValidation: Boolean, readConcern: Option[ReadConcern], readPreference: ReadPreference, batchSize: Option[Int])(implicit reader: Reader[T]): AggregatorContext[T]

    Permalink
    Definition Classes
    GenericCollection
  13. def as[C <: Collection](failoverStrategy: FailoverStrategy)(implicit producer: CollectionProducer[C]): C

    Permalink
    Definition Classes
    Collection
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def convertToCapped(size: Long, maxDocuments: Option[Int])(implicit ec: ExecutionContext): Future[Unit]

    Permalink
    Definition Classes
    CollectionMetaCommands
  17. def count[H](selector: Option[Document], limit: Int, skip: Int, hint: Option[H])(implicit h: (H) ⇒ JSONBatchCommands.JSONCountCommand.Hint, ec: ExecutionContext): Future[Int]

    Permalink
    Definition Classes
    GenericCollection
  18. def create(autoIndexId: Boolean)(implicit ec: ExecutionContext): Future[Unit]

    Permalink
    Definition Classes
    CollectionMetaCommands
  19. def createCapped(size: Long, maxDocuments: Option[Int], autoIndexId: Boolean)(implicit ec: ExecutionContext): Future[Unit]

    Permalink
    Definition Classes
    CollectionMetaCommands
  20. val db: DB

    Permalink
    Definition Classes
    JSONCollection → Collection
  21. val defaultCursorBatchSize: Int

    Permalink
    Attributes
    protected
    Definition Classes
    GenericCollection
  22. def defaultWriteConcern: WriteConcern

    Permalink
    Attributes
    protected
    Definition Classes
    GenericCollection
    Annotations
    @inline()
  23. def distinct[T, M[_] <: Iterable[_]](key: String, selector: Option[Document], readConcern: ReadConcern)(implicit reader: NarrowValueReader[T], ec: ExecutionContext, cbf: CanBuildFrom[M[_], T, M[T]]): Future[M[T]]

    Permalink
    Definition Classes
    GenericCollection
  24. def drop(failIfNotFound: Boolean)(implicit ec: ExecutionContext): Future[Boolean]

    Permalink
    Definition Classes
    CollectionMetaCommands
  25. def ensuring(cond: (JSONCollection) ⇒ Boolean, msg: ⇒ Any): JSONCollection

    Permalink
    Implicit information
    This member is added by an implicit conversion from JSONCollection to Ensuring[JSONCollection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. def ensuring(cond: (JSONCollection) ⇒ Boolean): JSONCollection

    Permalink
    Implicit information
    This member is added by an implicit conversion from JSONCollection to Ensuring[JSONCollection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  27. def ensuring(cond: Boolean, msg: ⇒ Any): JSONCollection

    Permalink
    Implicit information
    This member is added by an implicit conversion from JSONCollection to Ensuring[JSONCollection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: Boolean): JSONCollection

    Permalink
    Implicit information
    This member is added by an implicit conversion from JSONCollection to Ensuring[JSONCollection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  31. val failoverStrategy: FailoverStrategy

    Permalink
    Definition Classes
    JSONCollection → GenericCollection → Collection
  32. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def find[S, J](selector: S, projection: J)(implicit swriter: Writer[S], pwriter: Writer[J]): GenericQueryBuilder[pack.type]

    Permalink
    Definition Classes
    GenericCollection
  34. def find[S](selector: S)(implicit swriter: Writer[S]): GenericQueryBuilder[pack.type]

    Permalink
    Definition Classes
    GenericCollection
  35. def findAndModify[S](selector: S, modifier: commands.JSONFindAndModifyCommand.Modify, sort: Option[Document], fields: Option[Document])(implicit swriter: Writer[S], ec: ExecutionContext): Future[commands.JSONFindAndModifyCommand.FindAndModifyResult]

    Permalink
    Definition Classes
    GenericCollection
  36. def findAndRemove[S](selector: S, sort: Option[Document], fields: Option[Document])(implicit swriter: Writer[S], ec: ExecutionContext): Future[commands.JSONFindAndModifyCommand.FindAndModifyResult]

    Permalink
    Definition Classes
    GenericCollection
  37. def findAndUpdate[S, T](selector: S, update: T, fetchNewObject: Boolean, upsert: Boolean, sort: Option[Document], fields: Option[Document])(implicit swriter: Writer[S], writer: Writer[T], ec: ExecutionContext): Future[commands.JSONFindAndModifyCommand.FindAndModifyResult]

    Permalink
    Definition Classes
    GenericCollection
  38. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from JSONCollection to StringFormat[JSONCollection] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  39. def fullCollectionName: String

    Permalink
    Definition Classes
    Collection
  40. def genericQueryBuilder: GenericQueryBuilder[reactivemongo.play.json.JSONSerializationPack.type]

    Permalink
    Definition Classes
    JSONCollection → GenericCollection
  41. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  42. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  43. def indexesManager(implicit ec: ExecutionContext): CollectionIndexesManager

    Permalink
    Definition Classes
    CollectionMetaCommands
  44. def insert[T](ordered: Boolean, writeConcern: WriteConcern)(implicit arg0: Writer[T]): InsertBuilder[T]

    Permalink
    Definition Classes
    GenericCollection
  45. def insert[T](ordered: Boolean)(implicit arg0: Writer[T], ec: ExecutionContext): InsertBuilder[T]

    Permalink
    Definition Classes
    GenericCollection
  46. def insert[T](document: T, writeConcern: WriteConcern)(implicit writer: Writer[T], ec: ExecutionContext): Future[WriteResult]

    Permalink
    Definition Classes
    GenericCollection
  47. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  48. val name: String

    Permalink
    Definition Classes
    JSONCollection → Collection
  49. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  50. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. val pack: reactivemongo.play.json.JSONSerializationPack.type

    Permalink
    Definition Classes
    JSONCollection → GenericCollection → UpdateOps → InsertOps → ImplicitCommandHelpers → GenericCollectionWithCommands
  53. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  54. def productPrefix: String

    Permalink
    Definition Classes
    Product
  55. val readPreference: ReadPreference

    Permalink
    Definition Classes
    JSONCollection → GenericCollection
  56. def remove[S](selector: S, writeConcern: WriteConcern, firstMatchOnly: Boolean)(implicit swriter: Writer[S], ec: ExecutionContext): Future[WriteResult]

    Permalink
    Definition Classes
    GenericCollection
  57. lazy val removeModifier: commands.JSONFindAndModifyCommand.Remove.type

    Permalink
    Definition Classes
    GenericCollection
  58. def runCommand[C <: CollectionCommand](command: C)(implicit writer: Writer[ResolvedCollectionCommand[C]]): CursorFetcher[pack.type, Cursor]

    Permalink
    Definition Classes
    GenericCollectionWithCommands
  59. def runCommand[R, C <: CollectionCommand with CommandWithResult[R]](command: C with CommandWithResult[R], readPreference: ReadPreference)(implicit writer: Writer[ResolvedCollectionCommand[C]], reader: Reader[R], ec: ExecutionContext): Future[R]

    Permalink
    Definition Classes
    GenericCollectionWithCommands
  60. def runValueCommand[A <: AnyVal, R <: BoxedAnyVal[A], C <: CollectionCommand with CommandWithResult[R]](command: C with CommandWithResult[R with BoxedAnyVal[A]], rp: ReadPreference)(implicit writer: Writer[ResolvedCollectionCommand[C]], reader: Reader[R], ec: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    GenericCollectionWithCommands
  61. def runWithResponse[R, C <: CollectionCommand with CommandWithResult[R]](command: C with CommandWithResult[R], readPreference: ReadPreference)(implicit writer: Writer[ResolvedCollectionCommand[C]], reader: Reader[R], ec: ExecutionContext): Future[ResponseResult[R]]

    Permalink
    Definition Classes
    GenericCollectionWithCommands
  62. def runner: CommandWithPackRunner[pack.type]

    Permalink
    Definition Classes
    GenericCollectionWithCommands
  63. def sibling[C <: Collection](name: String, failoverStrategy: FailoverStrategy)(implicit producer: CollectionProducer[C]): C

    Permalink
    Definition Classes
    Collection
  64. def stats(scale: Int)(implicit ec: ExecutionContext): Future[CollStatsResult]

    Permalink
    Definition Classes
    CollectionMetaCommands
  65. def stats()(implicit ec: ExecutionContext): Future[CollStatsResult]

    Permalink
    Definition Classes
    CollectionMetaCommands
  66. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  67. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  68. def update(ordered: Boolean, writeConcern: WriteConcern): UpdateBuilder

    Permalink
    Definition Classes
    GenericCollection
  69. def update(ordered: Boolean): UpdateBuilder

    Permalink
    Definition Classes
    GenericCollection
  70. def update[S, T](selector: S, update: T, writeConcern: WriteConcern, upsert: Boolean, multi: Boolean)(implicit swriter: Writer[S], writer: Writer[T], ec: ExecutionContext): Future[UpdateWriteResult]

    Permalink
    Definition Classes
    GenericCollection
  71. def updateModifier[U](update: U, fetchNewObject: Boolean, upsert: Boolean)(implicit updateWriter: Writer[U]): commands.JSONFindAndModifyCommand.Update

    Permalink
    Definition Classes
    GenericCollection
  72. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. def watchFailure[T](future: ⇒ Future[T]): Future[T]

    Permalink
    Attributes
    protected
    Definition Classes
    GenericCollection
  76. def withReadPreference(readPreference: ReadPreference): JSONCollection

    Permalink
    Definition Classes
    JSONCollection → GenericCollection
  77. def writePref: Primary.type

    Permalink
    Attributes
    protected
    Definition Classes
    GenericCollection
    Annotations
    @inline()
  78. def [B](y: B): (JSONCollection, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from JSONCollection to ArrowAssoc[JSONCollection] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def aggregate[T](firstOperator: PipelineOperator, otherOperators: List[PipelineOperator], cursor: Option[commands.JSONAggregationFramework.Cursor], explain: Boolean, allowDiskUse: Boolean, bypassDocumentValidation: Boolean, readConcern: Option[ReadConcern], readPreference: ReadPreference)(implicit ec: ExecutionContext, reader: Reader[T], cf: CursorFlattener[Cursor]): Cursor[T]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.3) Use aggregatorContext

  2. def aggregate1[T](firstOperator: PipelineOperator, otherOperators: List[PipelineOperator], explain: Boolean, allowDiskUse: Boolean, bypassDocumentValidation: Boolean, readConcern: Option[ReadConcern], readPreference: ReadPreference, batchSize: Option[Int])(implicit ec: ExecutionContext, reader: Reader[T], cf: CursorFlattener[Cursor]): Cursor[T]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.3) Use aggregatorContext

  3. def aggregateWith[T](explain: Boolean, allowDiskUse: Boolean, bypassDocumentValidation: Boolean, readConcern: Option[ReadConcern], readPreference: ReadPreference, batchSize: Option[Int])(f: (AggregationFramework) ⇒ (PipelineOperator, List[PipelineOperator]))(implicit ec: ExecutionContext, reader: Reader[T], cf: CursorFlattener[Cursor]): Cursor[T]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.3) Use aggregateWith1

  4. def bulkInsert(documents: Stream[Document], ordered: Boolean, writeConcern: WriteConcern, bulkSize: Int, bulkByteSize: Int)(implicit ec: ExecutionContext): Future[MultiBulkWriteResult]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Use insert[T](ordered).many(documents, writeConcern)

  5. def bulkInsert(documents: Stream[Document], ordered: Boolean, writeConcern: WriteConcern)(implicit ec: ExecutionContext): Future[MultiBulkWriteResult]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Use insert[T](ordered).many(documents, writeConcern)

  6. def bulkInsert(documents: Stream[Document], ordered: Boolean)(implicit ec: ExecutionContext): Future[MultiBulkWriteResult]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Use insert[T](ordered).many(documents)

  7. def bulkInsert(ordered: Boolean, writeConcern: WriteConcern, bulkSize: Int, bulkByteSize: Int)(documents: ImplicitlyDocumentProducer*)(implicit ec: ExecutionContext): Future[MultiBulkWriteResult]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Use insert[T](ordered, writeConcern).many(documents)

  8. def bulkInsert(ordered: Boolean, writeConcern: WriteConcern)(documents: ImplicitlyDocumentProducer*)(implicit ec: ExecutionContext): Future[MultiBulkWriteResult]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Use insert[T](ordered, writeConcern).many(documents)

  9. def bulkInsert(ordered: Boolean)(documents: ImplicitlyDocumentProducer*)(implicit ec: ExecutionContext): Future[MultiBulkWriteResult]

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.7) Use insert[T](ordered).many(documents)

  10. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    JSONCollection → Equals
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5)

  11. def copy(db: DB = this.db, name: String = this.name, failoverStrategy: FailoverStrategy = this.failoverStrategy): JSONCollection

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use the constructor with ReadPreference

  12. def drop()(implicit ec: ExecutionContext): Future[Unit]

    Permalink
    Definition Classes
    CollectionMetaCommands
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use drop(Boolean)

  13. def emptyCapped()(implicit ec: ExecutionContext): Future[Unit]

    Permalink
    Definition Classes
    CollectionMetaCommands
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9) Deprecated because emptyCapped became an internal command, unavailable by default.

  14. val productArity: Int

    Permalink
    Definition Classes
    JSONCollection → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5)

  15. def productElement(n: Int): Any

    Permalink
    Definition Classes
    JSONCollection → Product
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5)

  16. def rename(to: String, dropExisting: Boolean)(implicit ec: ExecutionContext): Future[Unit]

    Permalink
    Definition Classes
    CollectionMetaCommands
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.4) Use reactivemongo.api.DBMetaCommands.renameCollection on the admin database instead.

  17. def runCommand[R, C <: CollectionCommand with CommandWithResult[R]](command: C with CommandWithResult[R])(implicit writer: Writer[ResolvedCollectionCommand[C]], reader: Reader[R], ec: ExecutionContext): Future[R]

    Permalink
    Definition Classes
    GenericCollectionWithCommands
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use the alternative with ReadPreference

  18. def runValueCommand[A <: AnyVal, R <: BoxedAnyVal[A], C <: CollectionCommand with CommandWithResult[R]](command: C with CommandWithResult[R with BoxedAnyVal[A]])(implicit writer: Writer[ResolvedCollectionCommand[C]], reader: Reader[R], ec: ExecutionContext): Future[A]

    Permalink
    Definition Classes
    GenericCollectionWithCommands
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use the alternative with ReadPreference

  19. def runWithResponse[R, C <: CollectionCommand with CommandWithResult[R]](command: C with CommandWithResult[R])(implicit writer: Writer[ResolvedCollectionCommand[C]], reader: Reader[R], ec: ExecutionContext): Future[ResponseResult[R]]

    Permalink
    Definition Classes
    GenericCollectionWithCommands
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12-RC5) Use the alternative with ReadPreference

  20. def save[T](doc: T, writeConcern: WriteConcern = WriteConcern.Default)(implicit ec: ExecutionContext, writer: Writes[T]): Future[WriteResult]

    Permalink

    Inserts the document, or updates it if it already exists in the collection.

    Inserts the document, or updates it if it already exists in the collection.

    doc

    The document to save.

    writeConcern

    The write concern

    Annotations
    @deprecated
    Deprecated

    (Since version Use update with upsert set to true) 0.11.1

  21. def save(doc: Document, writeConcern: WriteConcern)(implicit ec: ExecutionContext): Future[WriteResult]

    Permalink

    Inserts the document, or updates it if it already exists in the collection.

    Inserts the document, or updates it if it already exists in the collection.

    doc

    The document to save.

    writeConcern

    The write concern

    Annotations
    @deprecated
    Deprecated

    (Since version Use update with upsert set to true) 0.11.1

  22. def save(doc: JsObject)(implicit ec: ExecutionContext): Future[WriteResult]

    Permalink

    Inserts the document, or updates it if it already exists in the collection.

    Inserts the document, or updates it if it already exists in the collection.

    doc

    The document to save.

    Annotations
    @deprecated
    Deprecated

    (Since version Use update with upsert set to true) 0.11.1

  23. def sister[C <: Collection](name: String, failoverStrategy: FailoverStrategy)(implicit producer: CollectionProducer[C]): C

    Permalink
    Definition Classes
    Collection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.10) Consider using sibling instead

  24. def uncheckedInsert[T](document: T)(implicit writer: Writer[T]): Unit

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use insert

  25. def uncheckedRemove[T](query: T, firstMatchOnly: Boolean)(implicit writer: Writer[T], ec: ExecutionContext): Unit

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use remove

  26. def uncheckedUpdate[S, U](selector: S, update: U, upsert: Boolean, multi: Boolean)(implicit selectorWriter: Writer[S], updateWriter: Writer[U]): Unit

    Permalink
    Definition Classes
    GenericCollection
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use update

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from GenericCollection[reactivemongo.play.json.JSONSerializationPack.type]

Inherited from reactivemongo.api.collections.Aggregator[reactivemongo.play.json.JSONSerializationPack.type]

Inherited from UpdateOps[reactivemongo.play.json.JSONSerializationPack.type]

Inherited from InsertOps[reactivemongo.play.json.JSONSerializationPack.type]

Inherited from ImplicitCommandHelpers[reactivemongo.play.json.JSONSerializationPack.type]

Inherited from CollectionMetaCommands

Inherited from GenericCollectionWithCommands[reactivemongo.play.json.JSONSerializationPack.type]

Inherited from Collection

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JSONCollection to any2stringadd[JSONCollection]

Inherited by implicit conversion StringFormat from JSONCollection to StringFormat[JSONCollection]

Inherited by implicit conversion Ensuring from JSONCollection to Ensuring[JSONCollection]

Inherited by implicit conversion ArrowAssoc from JSONCollection to ArrowAssoc[JSONCollection]

Ungrouped