Operations¶
AkasicDB graph definition과 생성된 graph 상태는 SQL 함수로 확인합니다.
Graph Definition 목록¶
akasicdb.list_graph_definition()은 등록된 graph definition과 생성 상태를 반환합니다.
| Column | Type | 설명 |
|---|---|---|
graph_name |
name |
graph 이름 |
is_created |
boolean |
graph 생성 여부 |
match_with_graph_definition |
boolean |
생성된 graph가 현재 graph definition과 일치하는지 여부 |
updated_after_creation |
boolean |
graph 생성 이후 vertex 또는 edge가 변경되었는지 여부 |
Graph Definition 상세¶
akasicdb.show_graph_definition(...)은 지정한 graph의 vertex와 edge definition을 반환합니다.
| Column | Type | 설명 |
|---|---|---|
entity_type |
name |
vertex 또는 edge |
label |
name |
vertex 또는 edge label |
vertex_table |
name |
vertex definition에 사용한 table |
ID_column |
name |
vertex identifier column |
src_label |
name |
source vertex label |
src_table |
name |
edge query에서 source vertex에 대응하는 table |
dst_label |
name |
destination vertex label |
dst_table |
name |
edge query에서 destination vertex에 대응하는 table |
query |
name |
vertex 또는 edge definition에 사용한 SQL query |
생성된 Graph 목록¶
akasicdb.list_graph()는 graph definition으로부터 실제로 생성된 graph 정보를 반환합니다.
| Column | Type | 설명 |
|---|---|---|
graph_name |
name |
graph 이름 |
match_with_graph_definition |
boolean |
graph가 현재 graph definition과 일치하는지 여부 |
undefined_graph |
boolean |
graph definition이 삭제되었는지 여부 |
updated_after_creation |
boolean |
graph 생성 이후 vertex 또는 edge가 변경되었는지 여부 |