json-fs-query
    Preparing search index...

    Function useDatabase

    • use <name>: switch to another database in the folder holding them, for the rest of the call and the calls after it (as configure({ database }) does). Works in a browser too (reading only), for a database listed in __DATABASES.json, while no other call is running in the page.

      Parameters

      • name: string

      Returns Promise<string>

      The name.