ToolJet/plugins/packages/clickhouse/lib/operations.json
Kiran Ashok 962e4d36cc
Feature :: ClickHouse plugin (#3873)
* 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 commit 02c5edcf86.

* bugfix

* removing session , fornat

* lock files

* Revert "lock files"

This reverts commit d593cf9425.

* rearranging operations

* extra comma removed
2022-09-26 18:35:20 +05:30

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
}
}
}
}