Sha256: b30d11ab6a47b736628ca0680f5d830cb98c3e840de452138d471eec7af27bf7
Contents?: true
Size: 548 Bytes
Versions: 8
Compression:
Stored size: 548 Bytes
Contents
module Valle module AbstractAdapter class ByteLimitedColumn < AbstractColumn def maximum case limit when 1; 127 when 2; 32767 when 3; 8388607 when 4; 2147483647 when 6; 140737488355327 when 8; 9223372036854775807 end end def minimum case limit when 1; -128 when 2; -32768 when 3; -8388608 when 4; -2147483648 when 6; -140737488355328 when 8; -9223372036854775808 end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems