edgeport - v1.0.3
    Preparing search index...

    Function contains

    • Substring "contains" match (attr=*text*): the value appears somewhere in the attribute.

      text is carried literally as a single any anchor, so it is injection-safe -- a * in text matches a literal asterisk, not an extra wildcard.

      Parameters

      • attr: string

        The attribute description.

      • text: string

        The substring to look for (used verbatim).

      Returns SubstringsFilter

      A substrings Filter node with one any part.

      1.0.2

      contains('cn', 'smith'); // (cn=*smith*)