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