nitro-sqlite-vecFunctions
registerVectorExtensions
TypeScriptSource files: TypeScript
registerVectorExtensions(): void
Enable sqlite-vec functions and vec0 on connections opened after this call. Call before opening databases. Registration lasts for the process lifetime; repeated calls are safe. Existing connections are unchanged.
Returns
void
Throws
If native extension registration fails.