localStorageCollection not saving
Tried a bunch of different things, but can't figure out why my localStorageCollection isn't saving anything in the db.
here's my current code:
Something I'm overlooking?
3 Replies
genetic-orangeOP•3w ago
i just realize maybe i need to insert first, is there a way to do upserts?
ok that was pretty dumb 😄
i was assuming with localStorage updating would behave as an upsert.
correct-apricot•3w ago
there a way to do upserts?No, at the moment we only have the disticnt insert and update methods. Wrapping them with your own help as you have is ideal.
genetic-orangeOP•3w ago
Thanks!