Skip to main content

Module graph_lifecycle

Module graph_lifecycle 

Source
Expand description

Native and AGE graph command scheduling and result values.

Traits§

GraphLifecycle
Graph catalog operations inside the public graph API’s existing transaction boundary.

Functions§

run_age_alter_graph_with_evaluator
SELECT alter_graph('graph', 'RENAME', 'new_name') with AGE semantics; RENAME is the only operation AGE implements.
run_age_create_elabel_with_evaluator
SELECT create_elabel('graph', 'label') with AGE semantics.
run_age_create_graph_with_evaluator
SELECT create_graph('name') with AGE semantics: validates the name, rejects duplicate graphs and namespace collisions, and returns void (SQL NULL). The graph namespace is reserved like AGE’s CREATE SCHEMA.
run_age_create_vlabel_with_evaluator
SELECT create_vlabel('graph', 'label') with AGE semantics.
run_age_drop_graph_with_evaluator
SELECT drop_graph('name'[, cascade]) with AGE semantics: false uses DROP SCHEMA ... RESTRICT and succeeds only after every label relation is gone, while true removes surviving labels; success returns void.
run_age_drop_label_with_evaluator
SELECT drop_label('graph', 'label'[, force]) with AGE semantics: the label relation is dropped together with every entity that carries the label, force => true is rejected exactly like AGE, and a default label is restricted only while user labels of the same kind inherit from it.
run_age_graph_exists_with_evaluator
SELECT graph_exists('name'): AGE returns an agtype boolean, which surfaces through SQL as the agtype text true / false.
run_graph_create
run_graph_create_with_evaluator
run_graph_drop
run_graph_drop_with_evaluator