ClauseElement

class polyglotdb.query.annotations.elements.ClauseElement(attribute, value)[source]

Base class for filter elements that will be translated to Cypher.

Methods

__init__(attribute, value) Initialize self.
cypher_value_string() Create a Cypher parameter for the value of the clause.
for_cypher() Return a Cypher representation of the clause.
for_json()
for_type_cypher() Return a Cypher representation of the clause.
involves(annotation)
attributes

Get all attributes involved in the clause.

cypher_value_string()[source]

Create a Cypher parameter for the value of the clause.

for_cypher()[source]

Return a Cypher representation of the clause.

for_type_cypher()[source]

Return a Cypher representation of the clause.