Skip to main content

Get Database Schema

Get the database schema.

Parameters

ParameterDescription
DatabaseThe name of the database.

Example Output

{
"results": [
{
"columns": [
"nodes",
"relationships"
],
"data": [
{
"graph": {
"nodes": [
{
"id": "-24",
"labels": [
"Person"
],
"properties": {
"indexes": [],
"name": "Person",
"constraints": []
}
},
{
"id": "-23",
"labels": [
"Movie"
],
"properties": {
"indexes": [
"released"
],
"name": "Movie",
"constraints": []
}
}
],
"relationships": [
{
"id": "-69",
"type": "PRODUCED",
"startNode": "-24",
"endNode": "-23",
"properties": {}
},
{
"id": "-70",
"type": "WROTE",
"startNode": "-24",
"endNode": "-23",
"properties": {}
},
{
"id": "-71",
"type": "FOLLOWS",
"startNode": "-24",
"endNode": "-24",
"properties": {}
},
{
"id": "-72",
"type": "REVIEWED",
"startNode": "-24",
"endNode": "-23",
"properties": {}
},
{
"id": "-68",
"type": "DIRECTED",
"startNode": "-24",
"endNode": "-23",
"properties": {}
},
{
"id": "-67",
"type": "ACTED_IN",
"startNode": "-24",
"endNode": "-23",
"properties": {}
}
]
}
}
]
}
],
"errors": []
}

Automation Library Example

Get Database Schema with Neo4j and Send Results Via Email

Automation LibraryPreview this Automation on desktop