Closed jack-chui closed 5 years ago
Hi, I create datastore by the following code.
const userDB = new Datastore({fileName: 'User', inMemoryOnly: false}); console.log(userDB.persistence);
But the log result shows that inMemortOnly = true and fileName = null. Therefore, I cannot read data after I restart my application.
Hi, I create datastore by the following code.
But the log result shows that inMemortOnly = true and fileName = null. Therefore, I cannot read data after I restart my application.