GoodDB
    Preparing search index...
    • Get all the values

      Parameters

      Returns any[] | Promise<any[]>

      A promise if the driver is async, otherwise an array

      const db = new GoodDB(new JSONDriver({
      path: './database.json'
      }));
      db.values();
      const db = new GoodDB(new MongoDBDriver({
      uri: "..."
      }));
      await db.connect();
      await db.values();