Class: Pgvector::PG::BinaryDecoder::Vector
- Inherits:
-
PG::SimpleDecoder
- Object
- PG::SimpleDecoder
- Pgvector::PG::BinaryDecoder::Vector
- Defined in:
- lib/pgvector/pg.rb
Instance Method Summary collapse
Instance Method Details
#decode(string, tuple = nil, field = nil) ⇒ Object
21 22 23 |
# File 'lib/pgvector/pg.rb', line 21 def decode(string, tuple = nil, field = nil) ::Pgvector::Vector.from_binary(string).to_a end |