Member Junction
    Preparing search index...

    Function FindTemplateContextTokens

    • The context tokens a query template may read: each Context.<Name> named in a template tag, or every token when a tag reads Context some other way (Context['UserID'], {% set c = Context %}). Text outside template tags is SQL and never counts.

      Parameters

      • sql: string

      Returns (
          | "Context.UserID"
          | "Context.UserEmail"
          | "Context.UserName"
          | "Context.Now"
          | "Context.Today"
          | "Context.StartOfWeek"
          | "Context.StartOfMonth"
          | "Context.StartOfQuarter"
          | "Context.StartOfYear"
      )[]

      the tokens, in CONTEXT_TOKENS order; empty when no tag mentions Context