Member Junction
    Preparing search index...
    • Resolve a type for inline CAST/CONVERT usage.

      Same as resolveType but handles the additional patterns found in CAST expressions:

      • Types with precision in parentheses that should be stripped (e.g., DATETIME2(7) -> TIMESTAMPTZ)
      • NVARCHAR without length -> TEXT

      Parameters

      • typeStr: string
      • targetDialect: string = 'postgres'

      Returns string