Click here to Skip to main content
15,883,889 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Here is a temp data for which a update query should be built
JavaScript
{
    "ID" : 2014,
    "Reason" : "Message",
    "Modules" : [ 
        "AA","BB","CC"
    ],
    "Script" : {
	"Title":"Hello"
        "Informational" : "Hi How are you"
    }
}


where Modules[] may vary in size and Title under scripts is optional.
Posted
Updated 6-Aug-14 19:23pm
v3
Comments
StM0n 7-Aug-14 1:22am    
What are you exactly querying for in your data? (dyslexic mna strikes again...)

You maybe took a look at the C#-Driver[^] or this Article[^].
 
Share this answer
 
Check out updating an existing document[^].
Try http://docs.mongodb.org/ecosystem/tutorial/use-csharp-driver/[^] as well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900