`pg_element_table_key_columns`
pg_element_table_key_columns
The view pg_element_table_key_columns identifies which columns are part of the keys of the element tables of property graphs defined in the current database. Only those property graphs are shown that the current user has access to (by way of being the owner or having some privilege).
The key of an element table uniquely identifies the rows in it. It is either specified using the KEY clause in CREATE PROPERTY GRAPH or defaults to the primary key.
Table: pg_element_table_key_columns Columns
Column Type Description |
|---|
Name of the database that contains the property graph (always the current database) |
Name of the schema that contains the property graph |
Name of the property graph |
Element table alias (unique identifier of an element table within a property graph) |
Name of the column that is part of the key |
Ordinal position of the column within the key (count starts at 1) |