Skip to main content

gqlalchemy.utilities

to_cypher_value

def to_cypher_value(value: Any, config: NetworkXCypherConfig = None) -> str

Converts value to a valid Cypher type.

to_cypher_properties

def to_cypher_properties(properties: Optional[Dict[str, Any]] = None, config=None) -> str

Converts properties to a Cypher key-value properties.

to_cypher_labels

def to_cypher_labels(labels: Union[str, List[str], None]) -> str

Converts labels to a Cypher label definition.

to_cypher_qm_arguments

def to_cypher_qm_arguments(arguments: Optional[Union[str, Tuple[Union[str, int, float]]]]) -> str

Converts query module arguments to a valid Cypher string of query module arguments.

PropertyVariable Objects

class PropertyVariable()

Class for support of using a variable as a node or edge property. Used to avoid the quotes given to property values.