Interface RowResult

A single row 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.

row: undefined | Row

The returned row. If the query produced zero rows, this is undefined.

Generated using TypeDoc