Sha256: c969ba475df4aa6029aae1ed5b6c23cdc45297ae5cc4ae38f4548e40ce73979c
Contents?: true
Size: 519 Bytes
Versions: 38
Compression:
Stored size: 519 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module SQLServer module Type class Varchar < Char def initialize(**args) super @limit = 8000 if @limit.to_i == 0 end def type :varchar end def sqlserver_type "varchar".yield_self do |type| type += "(#{limit})" if limit type end end end end end end end
Version data entries
38 entries across 38 versions & 1 rubygems