We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcf6de0 commit 7017d56Copy full SHA for 7017d56
README.md
@@ -194,7 +194,7 @@ You need to convert the result of `db.export` to a buffer
194
const fs = require("fs");
195
// [...] (create the database)
196
const data = db.export();
197
-const buffer = new Buffer(data);
+const buffer = Buffer.from(data);
198
fs.writeFileSync("filename.sqlite", buffer);
199
```
200
0 commit comments