Documentation
    Preparing search index...

    Variable prefixFieldsInWhereConst

    prefixFieldsInWhere: (inputWhere: any, tablePrefix: string) => Where

    Sanitizes a relative URL string.

    • Ensures it starts with /
    • Resolves away path traversal sequences (../../etc)
    • Preserves query string and hash

    Type Declaration

      • (inputWhere: any, tablePrefix: string): Where
      • Parameters

        • inputWhere: any
        • tablePrefix: string

        Returns Where