Delete a key
The key to delete
Optional
The options to use
A promise if the driver is async, otherwise a boolean
const db = new GoodDB(new JSONDriver({path: './database.json'}));db.delete('key'); Copy
const db = new GoodDB(new JSONDriver({path: './database.json'}));db.delete('key');
const db = new GoodDB(new MongoDBDriver({uri: "..."}));await db.connect();await db.delete('key'); Copy
const db = new GoodDB(new MongoDBDriver({uri: "..."}));await db.connect();await db.delete('key');
Delete a key