Skip to main content
Version: Current

Query Enricher

Mode: Streaming Mode: Request-Response

Description

The Query enricher allows to bring to the scenario data returned by an SQL SELECT statement issued against the target data provider. The Query is autogenerated based on the integration with a database system like Postgres or MySQL; its name will be Integration-name Query. Go to the Admin Panel, Integrations tab to configure integration with your database. Consult Step by Step instructions for details on how to configure your integration. .

Parameters and configuration

NameDescription
Result strategyIf a query returns more than just one record and you need just one, you can set result strategy option to single result - this will ensure that only one db record will be used to populate the variable which holds output from this node.
QueryThe SQL SELECT statement. If parameter(s) need to be passed to the SQL query, use "?" as a placeholder for a parameter value; Nussknacker will dynamically adjust the node configuration window to include the entry field for the parameter(s).
Cache TTLHow long the lookup result can be cached. Lookups which use cached values are faster
arg1, .., argNArguments to be supplied to the SELECT statement.
Output variable nameThis variable will contain the result of the query

Additional considerations

Lookup component