Portal Community

Datasource Types

Node TypeSourceQuery Style
SqlQueryNodePostgreSQL, SQL Server, MySQLParameterized SQL (@param style)
RestDatasourceNodeExternal REST APIHTTP GET/POST with path + query parameters
DataOceanQueryNodeBizFirstGO Data OceanDataOcean query DSL with filters and projections

Datasource Registry

Datasources are registered by datasourceId (string key). Node config references a datasourceId — never a raw connection string. The IDatasourceRegistry resolves the datasource definition and the IDatasourceConnectionFactory creates connections with credentials from ICredentialResolver.

Common Output Shape

// SQL and REST datasources:
{
  "rows": [
    { "invoiceId": "inv-001", "total": 4750.00, "status": "pending" },
    { "invoiceId": "inv-002", "total": 2100.00, "status": "pending" }
  ],
  "rowCount": 2
}

// Access in expressions:
// $output.queryInvoices.rows[0].total
// $output.queryInvoices.rowCount
SQL injection prevention: Only parameterized queries are allowed. String interpolation in SQL (building query strings with $output values) is blocked at the executor level. Always use the parameters map.