API Reference > imodeljs-backend > ECSQL > ECSqlStatement > bindId bindId Method Binds an Id value to the specified ECSQL parameter. bindId(parameter: string | number, val: string): void Parameter Type Description parameter string | number Index (1-based) or name of the parameter val string Id value Returns - void Defined in core/backend/src/ECSqlStatement.ts Line 162 Last Updated: 12 June, 2024