A
A
Alexander Petrov2018-07-09 07:26:47
Node.js
Alexander Petrov, 2018-07-09 07:26:47

How to update data in nedb?

There is such a database: https://github.com/louischatriot/nedb
I really liked it, because the syntax is simple and the data is quickly put into a json-chik.
But she has one incomprehensible moment. When updating the data, a new record is created with new data, and the one that we updated remains as it was.
If I didn’t explain it clearly, then on Habré the dude normally told about this moment: https://habr.com/post/301916/
What to do with it? I want to update normally and not delete separate records later.....
Or you can advise as an alternative to a database that stores records in json and allows you to conveniently work with data.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jumandjilos, 2018-07-09
@Jumandjilos

Stores records in json? Try mongoDB, I used to deal only with sql databases, but recently I made one project on mongoDB, now I don’t want to use other DBMS, I really liked it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question