private fun applyResultLimiters(orderContext: OrderContext?, options: NodeQueryOptions, builder: StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere, nodeAlias: SymbolicName): StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere
Adds first and last filters, and adds skip. Requires that the nodes are already correctly ordered
Return
the builder with first/last/skip applied
Parameters
orderContext
order with variables
options
defines first, last and skip
builder
ongoing statement builder
nodeAlias
name of the variable containing the node