DocumentQuery

com.outr.arango.collection.DocumentQuery
trait DocumentQuery[D <: Document[D], M <: DocumentModel[D]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def apply(query: Query): QueryBuilder[D]

Creates a QueryBuilder from the supplied Query

Creates a QueryBuilder from the supplied Query

Value parameters

query

the query to use

Attributes

Returns

QueryBuilder[D]

def byFilter(filter: DocumentRef[D, M] => Filter): QueryBuilder[D]

Creates a QueryBuilder from the supplied filter

Creates a QueryBuilder from the supplied filter

Value parameters

filter

the filter to apply to this collection

Attributes

Returns

QueryBuilder[D]

def byFilter(filter: DocumentRef[D, M] => Filter, sort: (Field[_], SortDirection)): QueryBuilder[D]

Creates a QueryBuilder from the supplied filter and sorts the results

Creates a QueryBuilder from the supplied filter and sorts the results

Value parameters

filter

the filter to apply to this collection

sort

the sorting to use

Attributes

Returns

QueryBuilder[D]

def withRef(f: DocumentRef[D, M] => Unit): QueryBuilder[D]

Receives a DocumentRef in order to create a DSL query.

Receives a DocumentRef in order to create a DSL query.

Value parameters

f

the function to create the query

Attributes

Returns

QueryBuilder[D]