class ActiveRecord::ConnectionAdapters::SQLite3Adapter

Public Instance Methods

type_to_sql(type, limit: nil, **args)
Also aliased as: type_to_sql_without_enum
type_to_sql_with_enum(type, limit: nil, **args) click to toggle source
# File lib/connection_adapters/sqlite3.rb, line 7
def type_to_sql_with_enum(type, limit: nil, **args)
  if type.to_s == "enum" || type.to_s == "set"
    type, limit = :string, nil
  end
  type_to_sql_without_enum(type, limit: limit, **args)
end
Also aliased as: type_to_sql
type_to_sql_without_enum(type, limit: nil, **args)
Alias for: type_to_sql