bento_meta.util.cypher.clauses
bento_meta.util.cypher.clauses
Representations of Cypher statement clauses, statements, and statement parameters.
Module Contents
Classes
Represents a generic Cypher clause. |
|
Create a MATCH clause with the arguments. |
|
Create a WHERE clause with the arguments |
|
Create a WITH clause with the arguments. |
|
Create a CREATE clause with the arguments. |
|
Create a MERGE clause with the arguments. |
|
Create a REMOVE clause with the arguments. |
|
Create a SET clause with the arguments. (Only property arguments matter.) |
|
Create an ON CREATE SET clause for a MERGE with the arguments. |
|
Create an ON CREATE SET clause for a MERGE with the arguments. |
|
Create a RETURN clause with the arguments. |
|
Create an OPTIONAL MATCH clause with the arguments. |
|
Create a COLLECT clause with the arguments. |
|
Create an UNWIND clause with the arguments. |
|
Create an AS clause with the arguments. |
|
Create a Neo4j statement comprised of clauses (and strings) in order. |
- class bento_meta.util.cypher.clauses.Clause(*args, **kwargs)[source]
Bases:
object
Represents a generic Cypher clause.
- template
- joiner = ', '
- class bento_meta.util.cypher.clauses.Match(*args)[source]
Bases:
Clause
Create a MATCH clause with the arguments.
- template
- class bento_meta.util.cypher.clauses.Where(*args, op='AND')[source]
Bases:
Clause
Create a WHERE clause with the arguments (joining conditions with ‘op’).
- template
- joiner = ' {} '
- class bento_meta.util.cypher.clauses.With(*args)[source]
Bases:
Clause
Create a WITH clause with the arguments.
- template
- class bento_meta.util.cypher.clauses.Create(*args)[source]
Bases:
Clause
Create a CREATE clause with the arguments.
- template
- class bento_meta.util.cypher.clauses.Merge(*args)[source]
Bases:
Clause
Create a MERGE clause with the arguments.
- template
- class bento_meta.util.cypher.clauses.Remove(*args, **kwargs)[source]
Bases:
Clause
Create a REMOVE clause with the arguments.
- template
- class bento_meta.util.cypher.clauses.Set(*args, **kwargs)[source]
Bases:
Clause
Create a SET clause with the arguments. (Only property arguments matter.)
- template
- class bento_meta.util.cypher.clauses.OnCreateSet(*args)[source]
Bases:
Set
Create an ON CREATE SET clause for a MERGE with the arguments.
- template
- class bento_meta.util.cypher.clauses.OnMatchSet(*args)[source]
Bases:
Set
Create an ON CREATE SET clause for a MERGE with the arguments.
- template
- class bento_meta.util.cypher.clauses.Return(*args)[source]
Bases:
Clause
Create a RETURN clause with the arguments.
- template
- class bento_meta.util.cypher.clauses.OptionalMatch(*args)[source]
Bases:
Clause
Create an OPTIONAL MATCH clause with the arguments.
- template
- class bento_meta.util.cypher.clauses.Collect(*args)[source]
Bases:
Clause
Create a COLLECT clause with the arguments.
- template
- class bento_meta.util.cypher.clauses.Unwind(*args)[source]
Bases:
Clause
Create an UNWIND clause with the arguments.
- template