data class NodeQueryOptions(val filters: List<CypherConditionGenerator> = emptyList(), val orderBy: Order<*>? = IdOrder, val after: Map<String, Any?>? = null, val before: Map<String, Any?>? = null, val first: Int? = null, val last: Int? = null, val skip: Int? = null, val fetchTotalCount: Boolean = true, val ignoreNodes: Boolean = false, val overrideIsAllQuery: Boolean = false)

Defines how a NodeQuery fetches data

Parameters

filters

filters which are applied to filter out matched nodes

orderBy

the order in which nodes are ordered

after

if present, only nodes after this parsed cursor are fetched

before

if present, only properties before this parsed cursor are fetched

first

if present, only the first n nodes are fetched

last

if present, only the last n nodes are fetched

fetchTotalCount

totalCount is only fetched if true

ignoreNodes

if true, nodes are not fetched, only totalCount is fetched

overrideIsAllQuery

if true, this query is considered to fetch all nodes (use with caution)

Constructors

Link copied to clipboard
constructor(filters: List<CypherConditionGenerator> = emptyList(), orderBy: Order<*>? = IdOrder, after: Map<String, Any?>? = null, before: Map<String, Any?>? = null, first: Int? = null, last: Int? = null, skip: Int? = null, fetchTotalCount: Boolean = true, ignoreNodes: Boolean = false, overrideIsAllQuery: Boolean = false)

Properties

Link copied to clipboard
val after: Map<String, Any?>?
Link copied to clipboard
val before: Map<String, Any?>?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val first: Int?
Link copied to clipboard
Link copied to clipboard

Can be used to check if a node fetches all nodes

Link copied to clipboard
val last: Int?
Link copied to clipboard
val orderBy: Order<*>?
Link copied to clipboard
Link copied to clipboard
val skip: Int?