Class: Pgvector::PG::TextDecoder::Bit

Inherits:
PG::SimpleDecoder
  • Object
show all
Defined in:
lib/pgvector/pg.rb

Instance Method Summary collapse

Instance Method Details

#decode(string, tuple = nil, field = nil) ⇒ Object



82
83
84
# File 'lib/pgvector/pg.rb', line 82

def decode(string, tuple = nil, field = nil)
  ::Pgvector::Bit.from_text(string).to_s
end