Skip to main content
Version: 4.59.0

DB Query

The Database Query component allows you to make SQL-Queries. The component makes a connection to the specified SQL-like server using its configuration.

Supported databases are:

  • MySQL
  • MSSQL
  • Postgres
  • OracleDB (has been tested with OracleDB 23, support for older version might be limited)
  • IBM Db2
note

If your username or password contains special characters, you need to URL encode them. For example, if your password is "p@ssw0rd", you need to use "p%40ssw0rd" in the connection string. You can use Javascript's encodeURIComponent function, or other tools to do this. Be aware to not put your credentials in tools you don't trust.

Configuration​

Usage with OracleDB​

Usage with IBM Db2​

Inputs | Outputs​


DB Query
Input
Output
Finished Output
Error
00 0 (ilwuv41)

The incoming data isn't used unless the query uses a variable from this object. The incoming data can be empty if you don't need any variables.

Example:
// Query in config:

SELECT * FROM documents WHERE kind="{{kind}}"

// Incoming data:
{
kind: "CONTAINER"
}