Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Type
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Type
show all
- Defined in:
- lib/arjdbc/postgresql/base/oid.rb
Direct Known Subclasses
Array, Bit, Boolean, Bytea, Cidr, Date, Decimal, Enum, Float, Hstore, Identity, Integer, Json, Money, Point, Range, Time, Timestamp, Uuid, Vector
Instance Method Summary
collapse
Instance Method Details
#infinity(options = {}) ⇒ Object
11
12
13
|
# File 'lib/arjdbc/postgresql/base/oid.rb', line 11
def infinity(options = {})
::Float::INFINITY * (options[:negative] ? -1 : 1)
end
|
#simplified_type(sql_type) ⇒ Object
9
|
# File 'lib/arjdbc/postgresql/base/oid.rb', line 9
def simplified_type(sql_type); type end
|
#type ⇒ Object
8
|
# File 'lib/arjdbc/postgresql/base/oid.rb', line 8
def type; end
|