Class: ActiveRecord::ConnectionAdapters::Materialize::Column
- Inherits:
-
Column
- Object
- Column
- ActiveRecord::ConnectionAdapters::Materialize::Column
- Defined in:
- lib/active_record/connection_adapters/materialize/column.rb
Overview
:nodoc:
Instance Method Summary collapse
- #array ⇒ Object (also: #array?)
- #sql_type ⇒ Object
Instance Method Details
#array ⇒ Object Also known as: array?
9 10 11 |
# File 'lib/active_record/connection_adapters/materialize/column.rb', line 9 def array .sql_type.end_with?("[]") end |
#sql_type ⇒ Object
14 15 16 |
# File 'lib/active_record/connection_adapters/materialize/column.rb', line 14 def sql_type super.sub(/\[\]\z/, "") end |