DocumentCollection

class DocumentCollection[D <: Document[D]](val graph: Graph, val arangoCollection: ArangoDBCollection, val model: DocumentModel[D], `type`: CollectionType) extends WritableCollection[D]
trait Support
trait QueryPart
class Object
trait Matchable
class Any
class EdgeCollection[E, From, To]

Type members

Inherited classlikes

object batch
Inherited from:
ArangoDBDocuments
object collection
Inherited from:
WritableCollection
object stream
Inherited from:
ArangoDBDocuments

Value members

Concrete methods

override def dbName: String
Definition Classes
override def name: String
Definition Classes

Inherited methods

override protected def _collection: ArangoCollectionAsync
Definition Classes
Inherited from:
WritableCollection
def apply(id: Id[D], default: Id[D] => D): IO[D]
Inherited from:
ArangoDBDocuments
def delete(id: Id[D], options: DeleteOptions, transaction: StreamTransaction): IO[DeleteResult[D]]
Inherited from:
ArangoDBDocuments
override def fromT(t: D): Json
Definition Classes
Inherited from:
WritableCollection
def get(id: Id[D]): IO[Option[D]]
Inherited from:
ArangoDBDocuments
def id(key: String): Id[D]
Inherited from:
ArangoDBDocuments
def insert(doc: D, options: CreateOptions, transaction: StreamTransaction): IO[CreateResult[D]]
Inherited from:
ArangoDBDocuments
override def toQueryPart: QueryPart
Definition Classes
Collection -> Support
Inherited from:
Collection
override def toT(value: Json): D
Definition Classes
Inherited from:
WritableCollection
def update(id: Id[D], doc: D, options: UpdateOptions, transaction: StreamTransaction): IO[UpdateResult[D]]
Inherited from:
ArangoDBDocuments
def upsert(doc: D, options: CreateOptions, transaction: StreamTransaction): IO[CreateResult[D]]
Inherited from:
ArangoDBDocuments

Concrete fields

val `type`: CollectionType
val model: DocumentModel[D]
lazy override val query: DocumentCollectionQuery[D]