NitroSQLite

NitroSQLiteQueryResultRows

API Reference


API Reference / react-native-nitro-sqlite / NitroSQLiteQueryResultRows

Type Alias: NitroSQLiteQueryResultRows<Row>

NitroSQLiteQueryResultRows<Row> = object

Type Parameters

Row

Row extends Record<string, SQLiteValue> = Record<string, SQLiteValue>

Properties

_array

_array: Row[]

Raw array with all dataset


item

item: (idx) => Row | undefined

A convenience function to acess the index based the row object

Parameters

idx

number

the row index

Returns

Row | undefined

the row structure identified by column names


length

length: number

The lengh of the dataset