Flowdock
method

sanitize_sql_like

Importance_1
v4.2.7 - Show latest stable - 0 notes - Class: ClassMethods
sanitize_sql_like(string, escape_character = "\\") protected

Sanitizes a string so that it is safe to use within an SQL LIKE statement. This method uses escape_character to escape all occurrences of “", ”_“ and ”%“

Show source
Register or log in to add new notes.