Interface ValueResult

A single value returned by a database statement.

Hierarchy

Properties

affectedRowCount: number

Number of rows that were changed by the statement. This is meaningful only if the statement was an INSERT, UPDATE or DELETE, and the value is otherwise undefined.

columnDecltypes: (undefined | string)[]

Declared types of columns in the result.

columnNames: (undefined | string)[]

Names of columns in the result.

lastInsertRowid: undefined | bigint

The ROWID of the last successful insert into a rowid table. This is a 64-big signed integer. For other statements than INSERTs into a rowid table, the value is not specified.

value: undefined | Value

The returned value. If the query produced zero rows or zero columns, this is undefined.

Generated using TypeDoc