Module: SqlMunger::IdentifierQuoter

Included in:
Quoter::DefaultQuoter
Defined in:
lib/sql_munger/identifier_quoter.rb

Overview

Quote a value in default SQL standard style. Probably won’t work for many backends, so the quote method from, for example, DBI should be used.

Instance Method Summary collapse

Instance Method Details

#quote_ident(identifier) ⇒ Object



7
8
9
# File 'lib/sql_munger/identifier_quoter.rb', line 7

def quote_ident( identifier )
  %Q{"#{identifier}"}
end