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
I have been using lokijs for a while now, I couldn't find a built in way to find an entry, update it if it exists or otherwise create it. Yes this is possible by combining multiple calls but it would be nice if there was a function specifically made for that
The text was updated successfully, but these errors were encountered:
someramsey
changed the title
[Question] Is there a built in method for "update or create"
[Question] Is there a built in method like "updateOrCreate"
Jan 5, 2025
I have been using lokijs for a while now, I couldn't find a built in way to find an entry, update it if it exists or otherwise create it. Yes this is possible by combining multiple calls but it would be nice if there was a function specifically made for that
The text was updated successfully, but these errors were encountered: