NitroSQLite

KnnMatch

API Reference


API Reference / react-native-nitro-sqlite-vec / KnnMatch

Interface: KnnMatch

One nearest-neighbor match returned by knnSearch.

Indexable

[column: string]: unknown

Allows additional columns when using this row shape with custom queries.

Properties

distance

distance: number

Distance from the query vector, ordered from smallest to largest.


rowid

rowid: number

SQLite row ID of the matching vector.