API Reference > imodeljs-backend > ECSQL > ECSqlStatement > bindValue bindValue Method Binds the specified value to the specified ECSQL parameter. The section "iModel.js Types used in ECSQL Parameter Bindings" describes the iModel.js types to be used for the different ECSQL parameter types. bindValue(parameter: string | number, val: any): void Parameter Type Description parameter string | number Index (1-based) or name of the parameter val any Returns - void Defined in core/backend/src/ECSqlStatement.ts Line 121 Last Updated: 11 June, 2024