Skip to main content

show_graphs

Function show_graphs 

Source
pub fn show_graphs(state: &SessionState) -> Result<RecordBatch>
Expand description

SHOW GRAPHS: one row per edge table of each graph (one row for a graph with no edge tables), sorted by graph name, with its definition.

columnvalue
namethe graph’s name
edge_tablethe edge table (a file path in single quotes), or NULL
sourceits SOURCE KEY column
destinationits DESTINATION KEY column
vertex_tablethe vertex table its endpoints refer to, or NULL
vertex_keythat vertex table’s key column, or NULL

A graph with one edge table and at most one vertex table, as every graph before #295, has one row, as before.