Class: ActiveRecord::ConnectionAdapters::PostgreSQLColumn
- Defined in:
- lib/connection_adapters/postgresql_adapter.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#default_specified ⇒ Object
Returns the value of attribute default_specified.
-
#generated ⇒ Object
Returns the value of attribute generated.
Instance Method Summary collapse
Instance Attribute Details
#default_specified ⇒ Object
Returns the value of attribute default_specified.
6 7 8 |
# File 'lib/connection_adapters/postgresql_adapter.rb', line 6 def default_specified @default_specified end |
#generated ⇒ Object
Returns the value of attribute generated.
6 7 8 |
# File 'lib/connection_adapters/postgresql_adapter.rb', line 6 def generated @generated end |
Instance Method Details
#is_nullable? ⇒ Boolean
8 9 10 |
# File 'lib/connection_adapters/postgresql_adapter.rb', line 8 def is_nullable? @null || @default_specified || @generated end |