.net - Update MongoDB Document in VB.NET with the C# Driver -


i having problems updating document in mongodb using vb.net & c# driver.

i have code returning document wish update i'm not sure of syntax continue

imports mongodb.bson imports mongodb.driver imports mongodb.driver.builders  dim mongo mongoserver = mongoserver.create() mongo.connect() dim db = mongo.getdatabase("database") dim stock = db.getcollection(of bsondocument)("stock")  dim getdocument = new querydocument("productname", "test") 

see page on how update:

http://docs.mongodb.org/manual/reference/method/db.collection.update/#update-parameter


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -