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