Reference documentation and code samples for the activerecord-spanner-adapter class ActiveRecord::ConnectionAdapters::Spanner::Column.
Inherits
- ConnectionAdapters::Column
Methods
#has_default?
def has_default?() -> Boolean
Returns
- (Boolean)
#initialize
def initialize(name, default, sql_type_metadata = nil, null = true, default_function = nil, collation: nil, comment: nil, primary_key: false) -> Column
rubocop:disable Style/OptionalBooleanParameter
Returns
- (Column) — a new instance of Column
#primary_key?
def primary_key?() -> Boolean
Returns
- (Boolean)
#virtual?
def virtual?() -> Boolean
Returns
- (Boolean)