Sha256: 3b9175eccab316baebe03307c8005eceeaf838fcb6728ff2a15d9c42f2726878
Contents?: true
Size: 762 Bytes
Versions: 2
Compression:
Stored size: 762 Bytes
Contents
module Axiom module Adapter module Arango class Visitor class For class Unary # Visitor for emitting AQL LIMIT statements from axiom limit operations class Limit < self handle(Axiom::Relation::Operation::Limit) LOCAL_NAME = AQL.name_node('limit') private # Return limit operation # # @return [AQL::Node] # # @api private # def operation Node::Operation::Nary::Limit.new(Node::Literal::Primitive::Number.new(input.limit), Node::Literal::Primitive::Number.new(0)) end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-arango-adapter-0.0.2 | lib/axiom/adapter/arango/visitor/for/unary/limit.rb |
axiom-arango-adapter-0.0.1 | lib/axiom/adapter/arango/visitor/for/unary/limit.rb |