Member Junction
    Preparing search index...
    • Narrows an arbitrary string to a DatabasePlatform this build can actually serve. Use this instead of comparing against a hardcoded 'sqlserver' | 'postgresql' literal union at call sites — the platform dialects are the single source of truth for which platforms exist.

      Parameters

      • platform: string | null | undefined

      Returns platform is DatabasePlatform