Class: Sequel::Postgres::PGFloatArray
- Inherits:
-
PGNumericArray
- Object
- Array
- PGArray
- PGNumericArray
- Sequel::Postgres::PGFloatArray
- Defined in:
- lib/sequel/extensions/pg_array.rb
Overview
PGArray subclass for handling real/double precision arrays.
Constant Summary collapse
- ARRAY_TYPE =
'double precision'.freeze
Constants inherited from PGNumericArray
Sequel::Postgres::PGNumericArray::SUBST, Sequel::Postgres::PGNumericArray::SUBST_RE
Constants inherited from PGArray
Sequel::Postgres::PGArray::ARRAY, Sequel::Postgres::PGArray::BACKSLASH, Sequel::Postgres::PGArray::CLOSE_BRACE, Sequel::Postgres::PGArray::CLOSE_BRACKET, Sequel::Postgres::PGArray::COMMA, Sequel::Postgres::PGArray::DOUBLE_COLON, Sequel::Postgres::PGArray::EMPTY_BRACKET, Sequel::Postgres::PGArray::EMPTY_STRING, Sequel::Postgres::PGArray::NULL, Sequel::Postgres::PGArray::OPEN_BRACE, Sequel::Postgres::PGArray::OPEN_BRACKET, Sequel::Postgres::PGArray::QUOTE
Instance Method Summary collapse
-
#array_type ⇒ Object
Use the double precision type by default.
Methods inherited from PGNumericArray
Methods inherited from PGArray
#initialize, #op, parse, #sql_literal_append
Methods inherited from Array
#case, #pg_array, #pg_json, #sql_expr, #sql_negate, #sql_or, #sql_string_join, #sql_value_list, #~
Constructor Details
This class inherits a constructor from Sequel::Postgres::PGArray
Instance Method Details
#array_type ⇒ Object
Use the double precision type by default.
395 396 397 |
# File 'lib/sequel/extensions/pg_array.rb', line 395 def array_type super || ARRAY_TYPE end |