QueryBinder Class

Methods

Name Description
constructor(): QueryBinder    
bindBlob(indexOrName: string | number, val: Uint8Array): QueryBinder Bind blob value to ECSQL statement.  
bindBoolean(indexOrName: string | number, val: boolean): QueryBinder Bind boolean value to ECSQL statement.  
bindDouble(indexOrName: string | number, val: number): QueryBinder Bind double value to ECSQL statement.  
bindId(indexOrName: string | number, val: string): QueryBinder Bind @typedef Id64String value to ECSQL statement.  
bindIdSet(indexOrName: string | number, val: OrderedId64Iterable): QueryBinder Bind @type OrderedId64Iterable to ECSQL statement.  
bindInt(indexOrName: string | number, val: number): QueryBinder Bind integer to ECSQL statement.  
bindLong(indexOrName: string | number, val: number): QueryBinder Bind long to ECSQL statement.  
bindNull(indexOrName: string | number): QueryBinder Bind null to ECSQL statement.  
bindPoint2d(indexOrName: string | number, val: Point2d): QueryBinder Bind @type Point2d to ECSQL statement.  
bindPoint3d(indexOrName: string | number, val: Point3d): QueryBinder Bind @type Point3d to ECSQL statement.  
bindString(indexOrName: string | number, val: string): QueryBinder Bind string to ECSQL statement.  
bindStruct(indexOrName: string | number, val: object): QueryBinder Bind struct to ECSQL statement.  
serialize(): object    
from(args: undefined | object | any[]): QueryBinder Static Allow bulk bind either parameters by index as value array or by parameter names as object.  

Defined in

Last Updated: 30 November, 2023