sql-switch - v2.0.0
    Preparing search index...

    Variable createDALConst

    createDAL: () => DAL = sqlSwitch

    Type Declaration

      • (): DAL
      • Create a new DAL instance.

        Returns DAL

        const db = sqlSwitch();
        await db.connect({ db: 'local' });

    Renamed to sqlSwitch in 2.0. Kept as an alias so existing imports keep working; will be removed in 3.0.