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



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

def sqlserver_type
  "binary".yield_self do |type|
    type += "(#{limit})" if limit
    type
  end
end

#typeObject



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

def type
  :binary_basic
end