ClassMethods¶
Constants¶
Methods¶
- #as
Start a new QueryProxy with the starting identifier set to the given argument. This method does not exist within QueryProxy, it can only be called at the class level to create a new QP object. To set an identifier within a QueryProxy chain, give it as the first argument to a chained association.
def as(node_var) query_proxy(node: node_var) end
- #query_as
Returns a Query object with all nodes for the model matched as the specified variable name
an early Cypher match has already filtered results) where including labels will degrade performance.
def query_as(var, with_labels = true) query_proxy.query_as(var, with_labels) end
#query_proxy
def query_proxy(options = {}) Neo4j::ActiveNode::Query::QueryProxy.new(self, nil, options) end