Member Junction
    Preparing search index...

    Function QueryContextCacheValues

    • What a cached query result depends on through Context: each token the query reads, worked out now, by member name. A token that cannot be worked out is recorded as null (the run itself then fails, so nothing is cached under it).

      Parameters

      • tokens: readonly (
            | "Context.UserID"
            | "Context.UserEmail"
            | "Context.UserName"
            | "Context.Now"
            | "Context.Today"
            | "Context.StartOfWeek"
            | "Context.StartOfMonth"
            | "Context.StartOfQuarter"
            | "Context.StartOfYear"
        )[]
      • ctx: PropertyResolutionContext

      Returns Record<string, string>

      null when the query reads Context.Now: a result that depends on the instant it ran is never reused