Get all the values that start with a key
The key to check if it starts with 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.startsWith('key'); Copy
const db = new GoodDB(new JSONDriver({path: './database.json'}));db.startsWith('key');
const db = new GoodDB(new MongoDBDriver({uri: "..."}));await db.connect();await db.startsWith('key'); Copy
const db = new GoodDB(new MongoDBDriver({uri: "..."}));await db.connect();await db.startsWith('key');
Get all the values that start with a key