PREPARED_STATEMENT
All functions > CORE > PREPARED_STATEMENT
Defines a prepared statement of the given feature with the given inputs.
Syntax
PREPARED_STATEMENT(base, inputs, positions[, logging_level])
sql
Arguments
Parameter | Type | Required | Description |
---|---|---|---|
base | FEATURE | Yes | The base feature to prepare |
inputs | ARRAYFEATURE | Yes | Array of input values to bind |
positions | ARRAYBIGINT | No | Array of parameter positions |
logging_level | FEATURE | No | Logging level configuration |
Returns
A prepared statement feature ready for execution
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