NitroSQLite
react-native-nitro-sqliteInterfaces

NativeRawQueryResult

TypeScript

Source files: TypeScript

Native result of one SQL statement, with rows as arrays of column values.

Properties

columnNames

readonly columnNames: string[]

Defined in: packages/react-native-nitro-sqlite/src/specs/NativeQueryResult.ts:61

Result column names in column order. Repeated names are kept.


insertId?

readonly optional insertId?: number

Defined in: packages/react-native-nitro-sqlite/src/specs/NativeQueryResult.ts:58

Last insert row ID for this connection. It may refer to an earlier statement.


rows

readonly rows: NativeRawQueryRows

Defined in: packages/react-native-nitro-sqlite/src/specs/NativeQueryResult.ts:64

Rows as arrays of column values, in the order of columnNames.


rowsAffected

readonly rowsAffected: number

Defined in: packages/react-native-nitro-sqlite/src/specs/NativeQueryResult.ts:56

SQLite's latest row change count. For a read-only query it may reflect an earlier write.

On this page