PREPARED_STATEMENT
All functions > METADATA > PREPARED_STATEMENT
Returns a reference to a prepared statement of the given feature with the given inputs.
Signatures
Returns: A prepared statement feature ready for execution
PREPARED_STATEMENT(base: FEATURE, inputs: ARRAY<FEATURE>, positions: ARRAY<BIGINT>, [logging_level: FEATURE]) → FEATURE sql
| Parameter | Type | Required | Description |
|---|---|---|---|
base | FEATURE | Yes | The base feature to prepare |
inputs | ARRAY<FEATURE> | Yes | Array of input values to bind |
positions | ARRAY<BIGINT> | Yes | Array of parameter positions |
logging_level | FEATURE | No | Logging level configuration |
Notes
- Creates a prepared statement from a feature with bound inputs
- Inputs are bound at statement preparation time
- Positions specify where each input is used
- Optional logging level controls execution verbosity
- Enables efficient execution of parameterized features
- Part of the FeatureMesh core execution system
On this page