class Neo4j::Cypher::Limit

Can be used to limit result from a return clause

Public Class Methods

new(clause_list, value, context) click to toggle source
Calls superclass method Neo4j::Cypher::Clause::new
   # File lib/neo4j-cypher/return.rb
23 def initialize(clause_list, value, context)
24   super(clause_list, :limit, context)
25   @value = value
26 end

Public Instance Methods

to_cypher() click to toggle source
   # File lib/neo4j-cypher/return.rb
28 def to_cypher
29   @value
30 end