Class: ActiveRecord::ConnectionAdapters::SQLServer::Type::Binary

Inherits:
Type::Binary
  • Object
show all
Defined in:
lib/active_record/connection_adapters/sqlserver/type/binary.rb

Direct Known Subclasses

Timestamp, Varbinary

Instance Method Summary collapse

Instance Method Details

#sqlserver_typeObject



11
12
13
14
15
# File 'lib/active_record/connection_adapters/sqlserver/type/binary.rb', line 11

def sqlserver_type
  'binary'.tap do |type|
    type << "(#{limit})" if limit
  end
end

#typeObject



7
8
9
# File 'lib/active_record/connection_adapters/sqlserver/type/binary.rb', line 7

def type
  :binary_basic
end