Escape a value for use in a quoted SOQL string literal: quotes and backslashes are prefixed with a backslash. For like patterns this preserves backslashes that escape % and _ after the string literal itself is parsed by SOQL.
like
%
_
Value to escape
Escape a value for use in a quoted SOQL string literal: quotes and backslashes are prefixed with a backslash. For
likepatterns this preserves backslashes that escape%and_after the string literal itself is parsed by SOQL.