ArangoDBDocuments

com.outr.arango.core.ArangoDBDocuments

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait WritableCollection[D, M]
class DocumentCollection[D, M]
class EdgeCollection[E, M, From, To]

Members list

Type members

Classlikes

object batch

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
batch.type
object stream

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
stream.type

Value members

Abstract methods

protected def _collection: ArangoCollection
def fromT(t: T): Json
def toT(value: Json): T

Concrete methods

def apply(id: Id[T], default: Id[T] => T): IO[T]
def count: IO[Int]
def delete(id: Id[T], options: DeleteOptions, transaction: StreamTransaction): IO[DeleteResult[T]]
def get(id: Id[T]): IO[Option[T]]
def id(key: String): Id[T]
def insert(doc: T, options: CreateOptions, transaction: StreamTransaction): IO[CreateResult[T]]
def update(id: Id[T], doc: T, options: UpdateOptions, transaction: StreamTransaction): IO[UpdateResult[T]]
def upsert(doc: T, options: CreateOptions, transaction: StreamTransaction): IO[CreateResult[T]]