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 12
def sqlserver_type
  "nchar".yield_self do |type|
    type += "(#{limit})" if limit
    type
  end
end
type() click to toggle source
# File lib/active_record/connection_adapters/sqlserver/type/unicode_char.rb, line 8
def type
  :nchar
end