BIND_SQL
All functions > BIND > BIND_SQL
Binds the result of the given SQL query to the given feature or features.
Syntax
BIND_SQL(query, features)
sql
Arguments
Parameter | Type | Required | Description |
---|---|---|---|
query | QUERY | Yes | A SQL query to execute and bind results from |
Returns
A table containing the query results bound to features
Notes
- Executes a SQL query and binds the results to features
- The query results are mapped to the specified feature names
- Enables integration of arbitrary SQL queries into the feature mesh
- Query results must match the schema of target features
- Supports subqueries and complex SQL expressions
- Used for advanced feature materialization scenarios
- Part of the FeatureMesh binding system