Quick.db compatible mongo driver
// require quickdbconst { QuickDB } = require("quick.db");// require mongo driver from quickmongoconst { MongoDriver } = require("quickmongo");// create mongo driverconst driver = new MongoDriver("mongodb://localhost/quickdb");// connect to mongodbawait driver.connect();// create quickdb instance with mongo driverconst db = new QuickDB({ driver });// set somethingawait db.set("foo", "bar");// get somethingconsole.log(await db.get("foo")); // -> foo
Optional
Private
Generated using TypeDoc
Quick.db compatible mongo driver
Example