Class: RDO::Postgres::Array::Bytea
- Inherits:
-
RDO::Postgres::Array
- Object
- Array
- RDO::Postgres::Array
- RDO::Postgres::Array::Bytea
- Defined in:
- lib/rdo/postgres/array/bytea.rb
Overview
Ruby handling for bytea[] type in PostgreSQL.
Instance Method Summary collapse
-
#format_value(v) ⇒ Object
Format a value as a bytea.
-
#parse_value(s) ⇒ Object
Parse a bytea string into a binary Ruby String.
Methods inherited from RDO::Postgres::Array
[], #initialize, parse, #to_a, #to_s
Constructor Details
This class inherits a constructor from RDO::Postgres::Array
Instance Method Details
#format_value(v) ⇒ Object
Format a value as a bytea
141 142 143 |
# File 'ext/rdo_postgres/arrays.c', line 141 def format_value(v) # defined in ext/rdo_postgres/arrays.c end |
#parse_value(s) ⇒ Object
Parse a bytea string into a binary Ruby String
135 136 137 |
# File 'ext/rdo_postgres/arrays.c', line 135 def parse_value(s) # defined in ext/rdo_postgres/arrays.c end |