Sha256: 0b1a79f4dbc8683d0d71230c995d396b5f6a20827e328accc26fda9350250d61
Contents?: true
Size: 605 Bytes
Versions: 7
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module Cubrid2 class Column < ConnectionAdapters::Column # :nodoc: delegate :extra, to: :sql_type_metadata, allow_nil: true def unsigned? false end def case_sensitive? collation && !collation.end_with?('_ci') end def auto_increment? !respond_to?(:extra) && extra == 'auto_increment' end def virtual? # /\b(?:VIRTUAL|STORED|PERSISTENT)\b/.match?(extra) false end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems