RecordDocumentCollection

lightdb.RecordDocumentCollection
abstract class RecordDocumentCollection[D <: RecordDocument[D]](collectionName: String, db: LightDB) extends Collection[D]

Attributes

Graph
Supertypes
class Collection[D]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Field[F] = IndexedField[F, D]

Attributes

Inherited from:
Collection

Value members

Concrete methods

override protected def preSet(doc: D): IO[D]

Called before set

Called before set

Attributes

Definition Classes

Inherited methods

def apply(id: Id[D]): IO[D]

Attributes

Inherited from:
Collection
def commit(): IO[Unit]

Attributes

Inherited from:
Collection
def delete(id: Id[D]): IO[Option[D]]

Attributes

Inherited from:
Collection
def dispose(): IO[Unit]

Attributes

Inherited from:
Collection
def get(id: Id[D]): IO[Option[D]]

Attributes

Inherited from:
Collection
def idStream: Stream[IO, Id[D]]

Attributes

Inherited from:
Collection
def modify(id: Id[D])(f: (Option[D]) => IO[Option[D]]): IO[Option[D]]

Attributes

Inherited from:
Collection
def set(doc: D): IO[D]

Attributes

Inherited from:
Collection
def size: IO[Int]

Attributes

Inherited from:
Collection
def stream: Stream[IO, D]

Attributes

Inherited from:
Collection
def truncate(): IO[Unit]

Attributes

Inherited from:
Collection

Inherited fields

val autoCommit: Boolean

Attributes

Inherited from:
Collection

Implicits

Inherited and Abstract implicits

implicit val rw: RW[D]

Attributes

Inherited from:
Collection