bindValues Method
Bind values to all parameters in the statement.
bindValues(values: object | any[]): void
Parameter | Type | Description |
---|---|---|
values | object | any[] | The values to bind to the parameters. Pass an array of values if the parameters are positional. Pass an object of the values keyed on the parameter name for named parameters. The values in either the array or object must match the respective types of the parameter. The section "iTwin.js Types used in ECSQL Parameter Bindings" describes the iTwin.js types to be used for the different ECSQL parameter types. See also these Code Samples |
Returns - void
Defined in
- core/backend/src/ECSqlStatement.ts Line 253
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.