DocumentCollection

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

Attributes

Graph
Supertypes
trait Support
trait QueryPart
class Object
trait Matchable
class Any
Known subtypes
class EdgeCollection[E, From, To]

Members list

Concise view

Type members

Inherited classlikes

object batch

Attributes

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

Attributes

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

Attributes

Inherited from:
ArangoDBDocuments
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def dbName: String

Attributes

Definition Classes
override def name: String

Attributes

Definition Classes

Inherited methods

override protected def _collection: ArangoCollectionAsync

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

Concrete fields

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