Skip to main content

Module vec_extension

Module vec_extension 

Source
Expand description

Registration helper for the sqlite-vec extension.

Centralises the unsafe transmute so every callsite gets the same typed signature (clippy demands an explicit type annotation on raw transmutes; doing it once here is cleaner than four-way copy-paste).

Functionsยง

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