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