Sha256: 49192d62f9a46a99550647ac9cfa7102d7c3364bc80cf36922fe7fca07ca2a9c

Contents?: true

Size: 631 Bytes

Versions: 129

Compression:

Stored size: 631 Bytes

Contents

# frozen-string-literal: true

module Sequel
  module UnmodifiedIdentifiers
    module DatabaseMethods
      private

      # Databases that use this module for unquoted identifiers to lowercase.
      def folds_unquoted_identifiers_to_uppercase?
        false
      end
    end

    module DatasetMethods
      private

      # Turn the given symbol/string into a symbol, keeping the current case.
      def output_identifier(v)
        v == '' ? :untitled : v.to_sym
      end

      # Turn the given symbol/string into a string, keeping the current case.
      def input_identifier(v)
        v.to_s
      end
    end
  end
end

Version data entries

129 entries across 112 versions & 2 rubygems

Version Path
sequel-5.88.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.87.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.86.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.85.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.84.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.83.1 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.83.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.82.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.81.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.80.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.79.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.78.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.77.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.76.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.75.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.74.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.73.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.72.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.71.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.70.0 lib/sequel/adapters/utils/unmodified_identifiers.rb