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

ParameterTypeRequiredDescription
queryQUERYYesA 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
Last update at: 2025/10/13 10:23:46