lightdb.store.Store
See theStore companion object
abstract class Store[Doc <: Document[Doc], Model <: DocumentModel[Doc]](val name: String, model: Model) extends Disposable
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
Members list
Type members
Classlikes
object transaction
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
transaction.type
object trigger extends CollectionTriggers[Doc]
Attributes
- Supertypes
- Self type
-
trigger.type
Value members
Abstract methods
def aggregate(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Stream[MaterializedAggregate[Doc, Model]]
def aggregateCount(query: AggregateQuery[Doc, Model])(implicit transaction: Transaction[Doc]): Task[Int]
def delete[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Task[Boolean]
def doSearch[V](query: Query[Doc, Model, V])(implicit transaction: Transaction[Doc]): Task[SearchResults[Doc, Model, V]]
def get[V](field: UniqueIndex[Doc, V], value: V)(implicit transaction: Transaction[Doc]): Task[Option[Doc]]
Concrete methods
def modify(id: Id[Doc], establishLock: Boolean, deleteOnNone: Boolean)(f: Forge[Option[Doc], Option[Doc]])(implicit transaction: Transaction[Doc]): Task[Option[Doc]]
Inherited methods
Attributes
- Inherited from:
- Disposable
Inherited and Abstract methods
Attributes
- Inherited from:
- Disposable
Concrete fields
Inherited fields
Calls doDispose() exactly one time. Safe to call multiple times.
Calls doDispose() exactly one time. Safe to call multiple times.
Attributes
- Inherited from:
- Disposable
In this article