json-fs-query
    Preparing search index...

    Function dropDatabase

    • drop database [if exists] <name>: delete a database, its records and every row in them. The database in use can't be dropped (use another one first). Node only.

      Parameters

      • name: string
      • ifExists: boolean = false

      Returns Promise<string>

      The name, or null when it didn't exist and if exists was given.