class Axiom::Adapter::Arango::Visitor::For::Unary::Offset

Visitor for emitting currently defunct LIMIT statements from axiom offset operations

Constants

LOCAL_NAME
MAXIMUM
SIGNED_INT_32_MAX

Private Instance Methods

operation() click to toggle source

Return offset operation

@return [AQL::Node]

@api private

# File lib/axiom/adapter/arango/visitor/for/unary/offset.rb, line 24
def operation
  Node::Operation::Nary::Limit.new(MAXIMUM, Node::Literal::Primitive::Number.new(input.offset))
end