Skip to main content

register

Function register 

Source
pub fn register()
Expand description

Register sqlite-vec as an auto-extension. Every subsequent Connection::open* picks it up, gaining access to the vec0 virtual table.

Calling this multiple times is safe — SQLite dedupes by function pointer. The provider calls it on every open so callers don’t have to remember.