DocumentCollection

com.outr.arango.collection.DocumentCollection
class DocumentCollection[D <: Document[D], M <: DocumentModel[D]](val graph: Graph, val arangoCollection: ArangoDBCollection, val model: M, `type`: CollectionType, val managed: Boolean) extends WritableCollection[D, M]

Attributes

Graph
Supertypes
trait WritableCollection[D, M]
trait ReadableCollection[D, M]
trait Collection
trait Support
trait QueryPart
class Object
trait Matchable
class Any
Show all
Known subtypes
class EdgeCollection[E, M, From, To]

Members list

Type members

Inherited classlikes

object batch

Attributes

Inherited from:
ArangoDBDocuments
Supertypes
class Object
trait Matchable
class Any
object collection

Attributes

Inherited from:
WritableCollection
Supertypes
class Object
trait Matchable
class Any
object stream

Attributes

Inherited from:
ArangoDBDocuments
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def dbName: String

Attributes

Definition Classes
Collection
override def name: String

Attributes

Definition Classes
Collection
def ref: DocumentRef[D, M]
def ref(name: String): DocumentRef[D, M]

Inherited methods

override protected def _collection: ArangoCollection

Attributes

Definition Classes
Inherited from:
WritableCollection
def apply(id: Id[D], default: Id[D] => D): IO[T]

Attributes

Inherited from:
ArangoDBDocuments
def count: IO[Int]

Attributes

Inherited from:
ArangoDBDocuments
def delete(id: Id[D], options: DeleteOptions, transaction: StreamTransaction): IO[DeleteResult[T]]

Attributes

Inherited from:
ArangoDBDocuments
override def fromT(t: D): Json

Attributes

Definition Classes
Inherited from:
WritableCollection
def get(id: Id[D]): IO[Option[T]]

Attributes

Inherited from:
ArangoDBDocuments
def id(key: String): Id[T]

Attributes

Inherited from:
ArangoDBDocuments
def insert(doc: D, options: CreateOptions, transaction: StreamTransaction): IO[CreateResult[T]]

Attributes

Inherited from:
ArangoDBDocuments
override def toQueryPart: QueryPart

Attributes

Definition Classes
Collection -> Support
Inherited from:
Collection
override def toT(value: Json): D

Attributes

Definition Classes
Inherited from:
WritableCollection
def update(id: Id[D], doc: D, options: UpdateOptions, transaction: StreamTransaction): IO[UpdateResult[T]]

Attributes

Inherited from:
ArangoDBDocuments
def upsert(doc: D, options: CreateOptions, transaction: StreamTransaction): IO[CreateResult[T]]

Attributes

Inherited from:
ArangoDBDocuments
def withPart(that: QueryPart): QueryPart

Attributes

Inherited from:
QueryPart

Concrete fields

val `type`: CollectionType
val managed: Boolean
val model: M
lazy override val query: DocumentCollectionQuery[D, M]
lazy val update: UpdateBuilder[D, M]
lazy val upsert: UpsertBuilder[D, M]