React native nitro sqlite vecFunctions
API Reference / react-native-nitro-sqlite-vec / createVectorTable
Function: createVectorTable()
Declaration: TypeScript · View source on GitHub
createVectorTable(
db,table,options):void
Create a vec0 virtual table if it does not already exist.
Executes synchronously. An existing table is left as it is, even if its
definition differs from options.
Parameters
db
Open NitroSQLite connection with sqlite-vec enabled.
table
string
Trusted SQL table identifier, interpolated into the statement.
options
Vector dimensions, storage type, metric, and trusted column identifier.
Returns
void