class ActiveRecord::ConnectionAdapters::SQLite3::Column

:nodoc:

def ==(other)

def ==(other)
  other.is_a?(Column) &&
    super &&
    auto_increment? == other.auto_increment?
end

def auto_increment?

def auto_increment?
  @auto_increment
end

def auto_incremented_by_db?

def auto_incremented_by_db?
  auto_increment? || rowid
end

def encode_with(coder)

def encode_with(coder)
  coder["auto_increment"] = @auto_increment
  super
end

def has_default?

def has_default?
  super && !virtual?
end

def hash

def hash
  Column.hash ^
    super.hash ^
    auto_increment?.hash ^
    rowid.hash
end

def init_with(coder)

def init_with(coder)
  @auto_increment = coder["auto_increment"]
  super
end

def initialize(*, auto_increment: nil, rowid: false, generated_type: nil, **)

def initialize(*, auto_increment: nil, rowid: false, generated_type: nil, **)
  super
  @auto_increment = auto_increment
  @rowid = rowid
  @generated_type = generated_type
end

def virtual?

def virtual?
  !@generated_type.nil?
end

def virtual_stored?

def virtual_stored?
  virtual? && @generated_type == :stored
end