nedb no visible
See original GitHub issueDescribe the bug nedb file no visible,but data can be read,Can you give me an answer? Thx
# data.js
import Datastore from 'nedb'
import path from 'path'
import {remote} from 'electron'
const a = path.join(remote.app.getPath('userData'),'/data.db')
console.log(a)
const db = new Datastore({
autoload:true,
filename:a
})
# main.js
import './data.js'
...
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
NeDB not loading or storing to file - Stack Overflow
My code only works in-memory, persistence to file keeps failing without any error messages. The error callbacks for the loaddatabase and insert events...
Read more >NeDB: Embedded Persistent Database Written in JavaScript
Embedded persistent or in memory database for Node.js, nw.js, Electron and browsers, 100% JavaScript, no binary dependency. API is a subset of MongoDB's...
Read more >Express session middleware
Create a session middleware with the given options . Note Session data is not saved in the cookie itself, just the session ID....
Read more >Building an API with Node and Express | Daniel Shiffman
Classification API – An API that can be trained to classify text into any ... One option is to use a database (like...
Read more >Star Wars The Black Series NED-B Deluxe 6-Inch Action Figure
Perfect items, best packaging, no extra charge! ... is plastic free packaging. beware if you are looking to display in box. figure is...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is the same issue as https://github.com/louischatriot/nedb/issues/531. Mark
nedb
as an external to use the database file instead of IndexedDB:i added this to my vue.config.js file. even nedb saving data to indexed db only. What i should do to keep external file. my vue cli version is 4.4.6