@suluk/keys - v0.1.0
    Preparing search index...

    Function escapeLike

    • Escape SQL-LIKE metacharacters (a keyId can contain _, a LIKE wildcard) so a path prefix matches LITERALLY — pair with ESCAPE '\' in the query. Without this, a sibling whose id shares a _-adjacent prefix could leak into a subtree match.

      Parameters

      • s: string

      Returns string