NitroSQLiteQueryResult
TypeScriptSource files: TypeScript
Native result of one SQL statement, delivered as a plain JavaScript object.
The managed API also adds a rows adapter.
Properties
insertId?
readonly optional insertId?: number
Defined in: specs/NitroSQLiteQueryResult.nitro.ts:18
Last insert row ID for this connection. It may refer to an earlier statement.
metadata?
readonly optional metadata?: Record<string, NitroSQLiteQueryColumnMetadata>
Defined in: specs/NitroSQLiteQueryResult.nitro.ts:24
Column metadata keyed by result column name, when available.
results
readonly results: NitroSQLiteQueryRows
Defined in: specs/NitroSQLiteQueryResult.nitro.ts:21
Rows keyed by result column names.
rowsAffected
readonly rowsAffected: number
Defined in: specs/NitroSQLiteQueryResult.nitro.ts:16
SQLite's latest row change count. For a read-only query it may reflect an earlier write.