method

sanitize

sanitize(object)
public

Used to sanitize objects before they’re used in an SQL SELECT statement. Delegates to {connection.quote}[rdoc-ref:ConnectionAdapters::Quoting#quote].