Neo4j::QueryProxy
works with a very simplified model of Cypher (MATCH, WHEREs, ORDER BYs, SKIP, LIMIT, RETURN)
Instance methods
chain(proxy : QueryProxy)
chaining two proxies together will join the two match clauses and wheres (everything else will use the last value)
create_merge
Sourcecypher_params
Sourcedelete_proxy
Sourcedelete_proxy=(delete_proxy : QueryProxy | Nil)
Sourcedistinct
Sourceexecuted?
Sourcelimit
Sourcematch
Sourceobj_variable_name
Sourceorder(prop : Symbol | String, dir : SortDirection = Neo4j::QueryProxy::SortDirection::ASC) : QueryProxy
this form is mainly for internal use, but use it if you need it
order_bys
SourceTODO: want to expose #query_as as part of public api, but would first need to do some find/replace magic on existing match/create_merge/wheres/ret NOTE: ActiveNode called this .as, but crystal doesn't allow that name
raw_result
Sourcerel_variable_name
Sourceremoves
Sourcereorder(*params) : QueryProxy
Sourcereorder
Sourcereset_query
Sourceret
Sourceret_distinct
Sourcereturn_values
Sourceset(params) : QueryProxy
Sourceset
Sourcesets
Sourceshown here for documentation purposes, but actual definition is in macro included (type-specific subclass) due to conflict with Enumerable#skip
skip
Sourceunorder
Sourcewhere
Sourcewhere_not
Sourcewheres
Source