Sha256: 9d3f36a0e88ec24e0b41cffcb49fafd543a0599ccba528171072e0dca54edfe5

Contents?: true

Size: 628 Bytes

Versions: 23

Compression:

Stored size: 628 Bytes

Contents

# MSSQL binary types definitions
module ActiveRecord
  module ConnectionAdapters
    module MSSQL
      module Type

        class BinaryBasic < ActiveRecord::Type::Binary
          def type
            :binary_basic
          end
        end

        class Varbinary < ActiveRecord::Type::Binary
          def type
            :varbinary
          end
        end

        # This is the Rails binary type
        class VarbinaryMax < ActiveRecord::Type::Binary
          def type
            :binary
          end

          def limit
            @limit ||= 2_147_483_647
          end
        end

      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
activerecord-jdbc-alt-adapter-52.6.0-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-51.7.0-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-50.7.0-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-52.5.1-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-51.6.1-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-50.6.1-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-52.4.0-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-51.5.0-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-50.5.0-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-50.3.4-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-51.3.4-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-52.2.3-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-52.2.2-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-50.3.3-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-51.3.3-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-50.3.2-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-51.3.2-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-52.2.1-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-51.3.1-java lib/arjdbc/mssql/types/binary_types.rb
activerecord-jdbc-alt-adapter-52.2.0-java lib/arjdbc/mssql/types/binary_types.rb