Sha256: 9b6656956d73d8322a26b919e206d7f4f87cb45ce94700457d797ee0a17f821b

Contents?: true

Size: 401 Bytes

Versions: 23

Compression:

Stored size: 401 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    module SQLServer
      module Type
        class VarbinaryMax < Varbinary

          def initialize(*args)
            super
            @limit = 2_147_483_647
          end

          def type
            :binary
          end

          def sqlserver_type
            'varbinary(max)'.freeze
          end

        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
activerecord-sqlserver-adapter-5.0.3 lib/active_record/connection_adapters/sqlserver/type/varbinary_max.rb
activerecord-sqlserver-adapter-5.0.1 lib/active_record/connection_adapters/sqlserver/type/varbinary_max.rb
activerecord-sqlserver-adapter-5.0.0 lib/active_record/connection_adapters/sqlserver/type/varbinary_max.rb