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.
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.