Module: SqliteVss
- Defined in:
- lib/version.rb,
lib/sqlite_vss.rb
Overview
automatically generated, do not edit by hand.
Defined Under Namespace
Classes: Error
Constant Summary collapse
- VERSION =
"0.1.2"
Class Method Summary collapse
- .load(db) ⇒ Object
- .load_vector(db) ⇒ Object
- .load_vss(db) ⇒ Object
- .vector_loadable_path ⇒ Object
- .vss_loadable_path ⇒ Object
Class Method Details
.load(db) ⇒ Object
17 18 19 20 |
# File 'lib/sqlite_vss.rb', line 17 def self.load(db) self.load_vector(db) self.load_vss(db) end |
.load_vector(db) ⇒ Object
11 12 13 |
# File 'lib/sqlite_vss.rb', line 11 def self.load_vector(db) db.load_extension(self.vector_loadable_path) end |
.load_vss(db) ⇒ Object
14 15 16 |
# File 'lib/sqlite_vss.rb', line 14 def self.load_vss(db) db.load_extension(self.vss_loadable_path) end |
.vector_loadable_path ⇒ Object
8 9 10 |
# File 'lib/sqlite_vss.rb', line 8 def self.vector_loadable_path File.('../vector0', __FILE__) end |
.vss_loadable_path ⇒ Object
5 6 7 |
# File 'lib/sqlite_vss.rb', line 5 def self.vss_loadable_path File.('../vss0', __FILE__) end |