Get all the keys
A promise if the driver is async, otherwise an array
const db = new GoodDB(new JSONDriver({path: './database.json'}));db.keys(); Copy
const db = new GoodDB(new JSONDriver({path: './database.json'}));db.keys();
const db = new GoodDB(new MongoDBDriver({uri: "..."}));await db.connect();await db.keys(); Copy
const db = new GoodDB(new MongoDBDriver({uri: "..."}));await db.connect();await db.keys();
Get all the keys