module Sequel::UnmodifiedIdentifiers::DatasetMethods

Private Instance Methods

input_identifier(v) click to toggle source

Turn the given symbol/string into a string, keeping the current case.

   # File lib/sequel/adapters/utils/unmodified_identifiers.rb
23 def input_identifier(v)
24   v.to_s
25 end
output_identifier(v) click to toggle source

Turn the given symbol/string into a symbol, keeping the current case.

   # File lib/sequel/adapters/utils/unmodified_identifiers.rb
18 def output_identifier(v)
19   v == '' ? :untitled : v.to_sym
20 end