json-fs-query
    Preparing search index...

    Function switchDatabase

    • Switch the database in use, from inside a call (the use statement, which holds the lock for every database in databasesPath, so no other call is running): configure() refuses to while calls run.

      Parameters

      • name: string

      Returns void