module

Sqlite::Vector

Installs SQLite Vector's SQL functions on an official SQLite3 connection.

Constants

EXTENSION_VERSION = "1.1.2"
VERSION = "0.1.0"

Class methods

extension_path

Returns the installed binary's absolute path in the shard's source tree. Deployed applications should copy the binary and pass its location to .load.

Source
load(connection : SQLite3::Connection, path : String = extension_path) : Nil

Loads the extension on this connection. Call inside DB::Database#setup_connection to initialize both existing and future pooled connections.

Source

Nested types