AssociationCypherMethods¶
Constants¶
- VALID_REL_LENGTH_SYMBOLS
Methods¶
- #arrow_cypher
Return cypher partial query string for the relationship part of a MATCH (arrow / relationship definition)
def arrow_cypher(var = nil, properties = {}, create = false, reverse = false, length = nil) validate_origin! if create && length.present? fail(ArgumentError, 'rel_length option cannot be specified when creating a relationship') end direction_cypher(get_relationship_cypher(var, properties, create, length), create, reverse) end