Class: Pgvector::PG::BinaryEncoder::Vector
- Inherits:
-
PG::SimpleEncoder
- Object
- PG::SimpleEncoder
- Pgvector::PG::BinaryEncoder::Vector
- Defined in:
- lib/pgvector/pg.rb
Instance Method Summary collapse
Instance Method Details
#encode(value) ⇒ Object
50 51 52 |
# File 'lib/pgvector/pg.rb', line 50 def encode(value) value.to_binary end |