Member Junction
    Preparing search index...
    • Build a safe SQL LIKE filter: FieldName LIKE '%escapedValue%'

      NOTE: EscapeSQLString neutralises quotes but NOT LIKE metacharacters — a value containing %, _ or [ is still interpreted as a wildcard pattern rather than as literal text. That is the long-standing behaviour of this helper and callers depend on it. If you need a literal match, escape the metacharacters and add ESCAPE '\' (see escapeLikeValue() in @memberjunction/core, generic/runQuerySQLFilterImplementations.ts).

      Parameters

      • fieldName: string
      • value: string

      Returns string