You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello i am developing application witch use the nedb (by the way it's great) now the issue is i have added some new fields to the database but the previous code don't have in the this fields in the database is there any way to add this filed in nedb and i can't clean slate the database since there can be 100 of files already there since user using the app right now
The text was updated successfully, but these errors were encountered:
OK but now my issues is i need to check if the filed exist before reading is there any way since my code stop from there when it's didn't find the field. And thank you very much for quick response
Maybe there is a better way to handle this, but without updating your database, you can provide a default value like let x = db.find({key: value}) || value;
I run into the same problem a lot too so I'm also interested to know if anyone has a better solution.
Hello i am developing application witch use the nedb (by the way it's great) now the issue is i have added some new fields to the database but the previous code don't have in the this fields in the database is there any way to add this filed in nedb and i can't clean slate the database since there can be 100 of files already there since user using the app right now
The text was updated successfully, but these errors were encountered: