{
"_id" : "",
"Username" : "",
"Points" : 0,
"CompletedAchievements" : [],
"ActiveAchievements" : [],
"Kudos" : [],
"Teams" : [],
"UserType" : "Standard"
}
Here is my record I'd like to insert into. I am trying to add the following object into the ActiveAchievements array.
{
"_id": "my new id",
"progress": 10
}
I wish to add this into the Active Achievements array which already exists on a record(which has a unique ID I can get it by) in my database. As well as more in the future.
How would I do this using the MongoDb.Driver? In C#