We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5406bf1 commit 707335eCopy full SHA for 707335e
test/database.json
@@ -1 +1 @@
1
-[]
+[{"ID":"foo","data":"bar"}]
test/test.js
@@ -3,6 +3,7 @@ const db = new Database("mongodb://localhost/test");
3
4
db.on("ready", () => {
5
console.log("Hey, im connected!");
6
+ db.set("foo", "bar").then(() => db.export("./database.json"))
7
});
8
9
db.on("error", console.error);
0 commit comments