class ActiveRecord::ConnectionAdapters::SQLServer::Type::UnicodeChar

Public Instance Methods

sqlserver_type() click to toggle source
# File lib/active_record/connection_adapters/sqlserver/type/unicode_char.rb, line 11
def sqlserver_type
  'nchar'.tap do |type|
    type << "(#{limit})" if limit
  end
end
type() click to toggle source
# File lib/active_record/connection_adapters/sqlserver/type/unicode_char.rb, line 7
def type
  :nchar
end