RecordDocumentModel

lightdb.model.RecordDocumentModel

Attributes

Graph
Supertypes
trait DocumentModel[D]
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Inherited types

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

Attributes

Inherited from:
DocumentModel

Value members

Concrete methods

override def preSetJson(json: Json, collection: AbstractCollection[D]): IO[Json]

Called after preSet and before the data is set to the database

Called after preSet and before the data is set to the database

Attributes

Definition Classes

Inherited methods

def postDelete(doc: D, collection: AbstractCollection[D]): IO[Unit]

Attributes

Inherited from:
DocumentModel
def postSet(doc: D, collection: AbstractCollection[D]): IO[Unit]

Called after set

Called after set

Attributes

Inherited from:
DocumentModel
def preDelete(id: Id[D], collection: AbstractCollection[D]): IO[Id[D]]

Attributes

Inherited from:
DocumentModel
def preSet(doc: D, collection: AbstractCollection[D]): IO[D]

Called before preSetJson and before the data is set to the database

Called before preSetJson and before the data is set to the database

Attributes

Inherited from:
DocumentModel

Implicits

Inherited and Abstract implicits

implicit val rw: RW[D]

Attributes

Inherited from:
DocumentModel