Hello guys, it’s me again, in troubles.
Im developing a little jackpot game, and i need to let users update their first bet, before the time is gone. “The snipping thing”.
So, after every user make their first bet, they should have a chance to do some more bets before time is gone.
All that thing is set up, but i dont know how to make each user update his entry. This is how looks the Collection, after users make theyr first bet:
So i will like to make every user update his betAmount, but i tryed so hard and im not able to find how can users update their owns entry and not the full entry.
So my question is: How can i do , to make every users update his own entry? Instead of the full set?
Im looking for something like:
let doc = Jackpot.update({ .. } , {});
By the way, im working with ReactJS …
Thanks for read, hope someone can help me a bit.