Method: Sequel::SQLite::DatasetMethods#quoted_identifier_append

Defined in:
lib/sequel/adapters/shared/sqlite.rb

#quoted_identifier_append(sql, c) ⇒ Object

SQLite uses the nonstandard ‘ (backtick) for quoting identifiers.



714
715
716
# File 'lib/sequel/adapters/shared/sqlite.rb', line 714

def quoted_identifier_append(sql, c)
  sql << '`' << c.to_s.gsub('`', '``') << '`'
end