mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-25 15:37:37 +00:00
* feat : setup and basic querying * docs reference links * revert settings.json * updating settings.json * updates :: more source options , insert query * cleanup * updated with insert operation * database :: required field * text capitalizing * updated docs * PR changes :: added OR operation * removed format option * Revert "removed format option" This reverts commit02c5edcf86. * bugfix * removing session , fornat * lock files * Revert "lock files" This reverts commitd593cf9425. * rearranging operations * extra comma removed
66 lines
No EOL
1.7 KiB
JSON
66 lines
No EOL
1.7 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/ToolJet/ToolJet/develop/plugins/schemas/operations.schema.json",
|
|
"title": "ClickHouse datasource",
|
|
"description": "A schema defining ClickHouse datasource",
|
|
"type": "database",
|
|
"defaults": {
|
|
"operation": "sql"
|
|
},
|
|
"properties": {
|
|
"operation": {
|
|
"label": "",
|
|
"key": "operation",
|
|
"type": "dropdown-component-flip",
|
|
"description": "Single select dropdown for mode",
|
|
"list": [
|
|
{
|
|
"name": "SQL Query",
|
|
"value": "sql"
|
|
},
|
|
{
|
|
"name": "Insert array of objects",
|
|
"value": "insert"
|
|
}
|
|
]
|
|
},
|
|
"sql": {
|
|
"query": {
|
|
"key": "query",
|
|
"type": "codehinter",
|
|
"description": "Enter query",
|
|
"height": "150px"
|
|
}
|
|
},
|
|
"insert": {
|
|
"query": {
|
|
"key": "query",
|
|
"type": "codehinter",
|
|
"description": "Enter array of objects",
|
|
"height": "150px",
|
|
"placeholder":"Enter array of objects"
|
|
},
|
|
"tablename": {
|
|
"label": "Table name",
|
|
"key": "tablename",
|
|
"type": "codehinter",
|
|
"description": "Enter tablename",
|
|
"placeholder": "tablename",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"lineNumbers": false
|
|
},
|
|
"fields": {
|
|
"label": "Fields",
|
|
"key": "fields",
|
|
"type": "codehinter",
|
|
"description": "Enter fields",
|
|
"placeholder": "{{['date', 'str', 'arr', 'arr2']}}",
|
|
"width": "320px",
|
|
"height": "36px",
|
|
"className": "codehinter-plugins",
|
|
"lineNumbers": false
|
|
}
|
|
}
|
|
}
|
|
} |