SqliteValue Class

Value of a column in a row of an SQLite SQL query result. See also:

Methods

Name Description
constructor(stmt: IModelJsNative.SqliteStatement, colIndex: number): SqliteValue    
getBlob(): Uint8Array Get the value as Blob  
getDouble(): number Get the value as a double value  
getGuid(): string Get the value as a Guid value  
getId(): string Get the value as an Id value  
getInteger(): number Get the value as a integer value  
getString(): string Get the value as a string value  

Properties

Name Type Description
columnName Accessor ReadOnly string Gets the name of the column of the value.  
isNull Accessor ReadOnly boolean Indicates whether the value is NULL or not.  
type Accessor ReadOnly SqliteValueType Gets the data type of the value.  
value Accessor ReadOnly any Gets the SqlValue as JavaScript value.  

Defined in

Last Updated: 21 November, 2024