Member Junction
    Preparing search index...
    • Returns the configured database platform from the DB_PLATFORM environment variable, falling back to 'sqlserver' when the env var is unset. An unrecognized non-empty value (typo, legacy alias) throws — silent fallback is the bug we don't want, because it routes the wrong provider against a real database.

      Implementation note: the actual env-parsing lives in @memberjunction/global (single source of truth across MJCLI, MJServer, CodeGenLib). This wrapper keeps the public getDbType() symbol that MJServer consumers (and the broader stack) already import.

      Returns DatabasePlatform