mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
✨ Extend QuestDB node docs
This commit is contained in:
parent
8f7a4f1b25
commit
6c4e325c99
BIN
docs/nodes/nodes-library/nodes/QuestDB/QuestDB1_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/QuestDB/QuestDB1_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 198 KiB |
BIN
docs/nodes/nodes-library/nodes/QuestDB/QuestDB_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/QuestDB/QuestDB_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 196 KiB |
@ -14,13 +14,13 @@ You can find authentication information for this node [here](../../../credential
|
||||
|
||||
- Execute an SQL query
|
||||
- Insert rows in database
|
||||
- Update rows in database
|
||||
|
||||
|
||||
## Example Usage
|
||||
|
||||
This workflow allows you to execute an SQL query in QuestDB. You can also find the [workflow](https://n8n.io/workflows/523) on the website. This example usage workflow would use the following two nodes.
|
||||
This workflow allows you to create a table and insert data into it in QuestDB. You can also find the [workflow](https://n8n.io/workflows/592) on the website. This example usage workflow would use the following three nodes.
|
||||
- [Start](../../core-nodes/Start/README.md)
|
||||
- [Set](../../core-nodes/Set/README.md)
|
||||
- [QuestDB]()
|
||||
|
||||
The final workflow should look like the following image.
|
||||
@ -31,9 +31,35 @@ The final workflow should look like the following image.
|
||||
|
||||
The start node exists by default when you create a new workflow.
|
||||
|
||||
### 2. QuestDB node
|
||||
|
||||
### 2. QuestDB node (Execute Query)
|
||||
|
||||
1. First of all, you'll have to enter credentials for the QuestDB node. You can find out how to do that [here](../../../credentials/QuestDB/README.md).
|
||||
2. Select 'Execute Query' from the *Operation* dropdown list.
|
||||
3. Enter your SQL query in the *Query* field.
|
||||
4. Click on *Execute Node* to run the workflow.
|
||||
2. Select 'Execute Query' from the ***Operation*** dropdown list.
|
||||
3. Enter the following SQL query in the ***Query*** field: `CREATE TABLE test (id INT, name STRING);`.
|
||||
4. Click on the ***Node*** tab and toggle ***Always Output Data*** to true.
|
||||
5. Click on ***Execute Node*** to run the node.
|
||||
|
||||

|
||||
|
||||
|
||||
### 3. Set node
|
||||
|
||||
1. Click on the ***Add Value*** button and select 'Number' from the dropdown list.
|
||||
2. Enter `id` in the ***Name*** field.
|
||||
3. Click on the ***Add Value*** button and select 'String' from the dropdown list.
|
||||
4. Enter `name` in the ***Name*** field.
|
||||
5. Enter the value for the name in the ***Value*** field.
|
||||
6. Click on ***Execute Node*** to run the node.
|
||||
|
||||

|
||||
|
||||
|
||||
### 4. QuestDB node (Insert)
|
||||
|
||||
1. Select the credentials that you entered in the previous QuestDB node.
|
||||
2. Enter `test` in the ***Table*** field.
|
||||
3. Enter `id, name` in the ***Columns*** field.
|
||||
4. Click on ***Execute Node*** to run the node.
|
||||
|
||||

|
||||
|
||||
BIN
docs/nodes/nodes-library/nodes/QuestDB/Set_node.png
Normal file
BIN
docs/nodes/nodes-library/nodes/QuestDB/Set_node.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 200 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 278 KiB |
Loading…
Reference in New Issue
Block a user