Using Labels¶
Labels are used to control the output of the document node. Define this JSON schema:
[
{
"database": "book",
"index": "book",
"nodes": {
"table": "book",
"columns": [
"isbn",
"title"
],
"children": [
{
"table": "author",
"label": "authors",
"columns": [
"name"
]
}
]
}
}
]
To get this document structure in Elasticsearch/OpenSearch