Sha256: 8331100ab3503821e79fc73e37f4c4105d6ee786818d7ff50ff3de8c79803c8e

Contents?: true

Size: 600 Bytes

Versions: 13

Compression:

Stored size: 600 Bytes

Contents

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

13 entries across 11 versions & 2 rubygems

Version Path
sequel-4.49.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-4.48.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/sequel-4.44.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.0.5 vendor/bundle/gems/sequel-4.47.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.0.5 vendor/bundle/gems/sequel-4.44.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-4.47.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-4.46.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-4.45.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
tdiary-5.0.4 vendor/bundle/gems/sequel-4.44.0/lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-4.44.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-4.43.0 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-4.42.1 lib/sequel/adapters/utils/unmodified_identifiers.rb
sequel-4.42.0 lib/sequel/adapters/utils/unmodified_identifiers.rb