BIND_COLUMNS
All functions > BIND > BIND_COLUMNS
Binds columns from a table to the given features.
Syntax
BIND_COLUMNS(columns, table, features) sql
Arguments
| Parameter | Type | Required | Description |
|---|---|---|---|
columns | ARRAYFEATURE | Yes | Array of column names to select from the table |
table | FEATURE | Yes | The table name to select from |
Returns
A table with the selected columns bound to features
Notes
- Binds specific columns from a table to features
- Constrains the query to SELECT column, column... FROM table
- Column names are mapped to feature names in order
- Provides a simpler alternative to BIND_SQL for basic table selections
- The number of columns must match the number of features
- Part of the FeatureMesh binding system