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
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/sequel-5.53.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.53.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.52.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.51.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/sequel-5.50.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/sequel-5.44.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.50.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.49.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.48.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/sequel-5.44.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/sequel-5.47.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.47.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.46.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-5.45.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/sequel-5.41.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/sequel-5.44.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/sequel-5.39.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/sequel-5.41.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/sequel-5.44.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/sequel-5.43.0/lib/sequel/adapters/utils/unmodified_identifiers.rb