Member Junction
    Preparing search index...
    • Checks AST properties to determine if ORDER BY is legal in a CTE context. TOP, OFFSET/LIMIT, or FOR XML make ORDER BY legal inside a CTE.

      Parameters

      • stmt: Record<string, unknown>

      Returns boolean

      Reads a node-sql-parser tree. Use SqlDocument.Parse(sql, dialect) (row caps and tail clauses) with the dialect grammar's AllowsOrderByInCTE.