Cursor

avokka.arangodb.models.Cursor
See theCursor companion object
final case class Cursor[T](cached: Boolean, count: Option[Long], extra: Option[Extra], hasMore: Boolean, id: Option[String], result: Vector[T])

Value parameters

cached

a boolean flag indicating whether the query result was served from the query cache or not. If the query result is served from the query cache, the extra return attribute will not contain any stats sub-attribute and no profile sub-attribute.

count

the total number of result documents available (only available if the query was executed with the count attribute set)

extra

an optional JSON object with extra information about the query result contained in its stats sub-attribute. For data-modification queries, the extra.stats sub-attribute will contain the number of modified documents and the number of documents that could not be modified due to an error (if ignoreErrors query option is specified)

hasMore

A boolean indicator whether there are more results available for the cursor on the server

id

id of temporary cursor created on the server (optional, see above)

result

an array of result documents (might be empty if query has no results)

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product