[Question] Is there a built in method like "updateOrCreate"
Author: someramseyCreated Jan 5, 2025Updated 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
Source: techfort/LokiJS