cymple.builder.Union
- class cymple.builder.Union(query)
Bases:
Query
A class for representing a “UNION” 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 .
union
()Combines the results of two or more queries.
Combines the results of two or more queries including duplicates.
- cypher(cypher_query_str)
Concatenate a cypher query string
- get()
Get the final query string .
- union()
Combines the results of two or more queries. Duplicates are removed.
- Returns:
A Query object with a query that contains the new clause.
- Return type:
- union_all()
Combines the results of two or more queries including duplicates.
- Returns:
A Query object with a query that contains the new clause.
- Return type: