cymple.builder.OnCreate

class cymple.builder.OnCreate(query)

Bases: Query

A class for representing a “ON CREATE” 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 .

on_create()

Concatenate the "ON CREATE" clause.

cypher(cypher_query_str)

Concatenate a cypher query string

get()

Get the final query string .

on_create()

Concatenate the “ON CREATE” clause.

Returns:

A Query object with a query that contains the new clause.

Return type:

OnCreateAvailable