Apply
Sql Lookup
Enrich documents with SQL query results from external databases
Note: This playground provides simulated output to showcase functionality. No data is processed on our servers. Use this demo to explore the stage's configuration options before integrating it into your retriever pipeline.
Configuration
string
Required
REQUIRED. Organization connection ID or name.
string
Required
REQUIRED. SQL SELECT query (mutations blocked). Use $1, $2 for parameters.
object
Named parameters for SQL query. Values support {{DOC.*}}, {{INPUT.*}} templates.
string
Dot-path where SQL results are stored.
string
How to handle multiple rows: 'first', 'all', 'error_if_empty', 'error_if_multiple'.
integer
Query timeout in seconds (1-300).
string
Error handling: 'skip', 'remove', or 'raise'.
Output
No output yet
Configure the stage parameters and click "Run Stage" to see the simulated output.