Skip to main content

QueryResult<T>

Object returned by SQL Query executions.

Extends

Type Parameters

Type ParameterDefault type
TSqliteRecord

Properties

PropertyTypeDescriptionInherited from
arrayT[]Rows in this result set.-
insertId?numberRepresents the auto-generated row id if applicable.BaseQueryResult.insertId
rows?ResultSetIf the query returned rows, the result set containing returned values.-
rowsAffected?numberNumber of affected rows reported by SQLite for a write query. When using the default client-side JSON-based view system, rowsAffected may be 0 for successful UPDATE and DELETE statements. Use a RETURNING clause and inspect rows when you need to confirm which rows changed.BaseQueryResult.rowsAffected