Member Junction
    Preparing search index...

    Function ResolvePlatformVariant

    • Resolves a specific SQL field from PlatformVariants for the given platform. Returns the platform-specific variant if available, or null to signal fallback to base field.

      Parameters

      • variants: PlatformVariantsJSON

        The parsed PlatformVariantsJSON (can be null)

      • fieldName: "SQL" | "WhereClause" | "CacheValidationSQL" | "OrderBy" | "FilterText"

        The field key in the PlatformVariantsJSON (e.g., 'SQL', 'FilterText')

      • platform: DatabasePlatform

        The active database platform

      Returns string

      The platform-specific SQL string, or null if no variant exists