c

lightdb.async

AsyncTransactionConvenience

case class AsyncTransactionConvenience[Doc <: Document[Doc], Model <: DocumentModel[Doc]](collection: AsyncCollection[Doc, Model]) extends Product with Serializable

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AsyncTransactionConvenience
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AsyncTransactionConvenience(collection: AsyncCollection[Doc, Model])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(id: Id[Doc]): IO[Doc]
  5. def apply[V](f: (Model) => (UniqueIndex[Doc, V], V)): IO[Doc]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. val collection: AsyncCollection[Doc, Model]
  9. def count: IO[Int]
  10. def delete(id: Id[Doc])(implicit ev: <:<[Model, DocumentModel[_]]): IO[Boolean]
  11. def delete[V](f: (Model) => (UniqueIndex[Doc, V], V)): IO[Boolean]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def get(id: Id[Doc]): IO[Option[Doc]]
  14. def get[V](f: (Model) => (UniqueIndex[Doc, V], V)): IO[Option[Doc]]
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def getOrCreate(id: Id[Doc], create: => IO[Doc], lock: Boolean = true): IO[Doc]
  17. def insert(docs: Seq[Doc]): IO[Seq[Doc]]
  18. def insert(doc: Doc): IO[Doc]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def list: IO[List[Doc]]
  21. def modify(id: Id[Doc], lock: Boolean = true, deleteOnNone: Boolean = false)(f: (Option[Doc]) => IO[Option[Doc]]): IO[Option[Doc]]
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  25. def productElementNames: Iterator[String]
    Definition Classes
    Product
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def truncate(): IO[Int]
  28. def upsert(docs: Seq[Doc]): IO[Seq[Doc]]
  29. def upsert(doc: Doc): IO[Doc]
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped