Member Junction
    Preparing search index...
    • Parse a database platform name. Accepts exactly the values MemberJunction's own DB_PLATFORM accepts — sqlserver or postgresql, any case — so the installer never writes a value MJAPI, CodeGen, or mj migrate would reject.

      Parameters

      • value: string

        Raw value from MJ_INSTALL_DB_PLATFORM or a config file.

      Returns "sqlserver" | "postgresql"

      The normalized platform.

      When the value is anything else.