1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# 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
|