cymple.builder.Set
- class cymple.builder.Set(query)
Bases:
QueryA class for representing a “SET” clause.
- __init__(query)
Initialize the query object.
Methods
__init__(query)Initialize the query object.
cypher(cypher_query_str)Concatenate a cypher query string
get()Get the final query string .
set(properties[, escape_values])Concatenate a SET clause, using the given properties map.
- cypher(cypher_query_str)
Concatenate a cypher query string
- get()
Get the final query string .
- set(properties: dict, escape_values: bool = True)
Concatenate a SET clause, using the given properties map.
- Parameters:
properties (dict) – A dict to be used to set the variables with their corresponding values
escape_values (bool) – Determines whether the properties values should be escaped or not, defaults to True
- Returns:
A Query object with a query that contains the new clause.
- Return type: