Hello all! I am a very new user to mongodb and am managing my DB using compass. I am using pipedream to port data over from an API. This works fine and my data shows up in mongodb.
However, the API will always send the latest amount of XP that a user has. How do I make it so each user (determined by the input “user”) will have a single DB entry and when new data is brought in (new xp amounts and level) that that db entry will be updated with the latest. Thank you,