cymple.builder.QueryStartAvailable
- class cymple.builder.QueryStartAvailable(query)
Bases:
Match,Merge,Call,Create,WithA class decorator declares a QueryStart is available in the current query.
- __init__(query)
Initialize the query object.
Methods
__init__(query)Initialize the query object.
call()Concatenate the "CALL" clause.
create()Concatenate the "CREATE" clause.
cypher(cypher_query_str)Concatenate a cypher query string
get()Get the final query string .
match()Concatenate the "MATCH" clause.
Concatenate the "MATCH" clause.
merge()Concatenate the "MERGE" clause.
with_(variables)Concatenate a WITH clause, keeping one or more variables given in 'variables' arg.
- call()
Concatenate the “CALL” clause.
- Returns:
A Query object with a query that contains the new clause.
- Return type:
- create()
Concatenate the “CREATE” clause.
- Returns:
A Query object with a query that contains the new clause.
- Return type:
- cypher(cypher_query_str)
Concatenate a cypher query string
- get()
Get the final query string .
- match()
Concatenate the “MATCH” clause.
- Returns:
A Query object with a query that contains the new clause.
- Return type:
- match_optional()
Concatenate the “MATCH” clause.
- Returns:
A Query object with a query that contains the new clause.
- Return type:
- merge()
Concatenate the “MERGE” clause.
- Returns:
A Query object with a query that contains the new clause.
- Return type:
- with_(variables: str)
Concatenate a WITH clause, keeping one or more variables given in ‘variables’ arg.
- Parameters:
variables (str) – A string refering to previously obtained variables, comma seperated
- Returns:
A Query object with a query that contains the new clause.
- Return type: