Thursday, 15 January 2015

c# - Copy collection in MongoDB (2.4) without Eval -



c# - Copy collection in MongoDB (2.4) without Eval -

i'm using hosted mongodb (2.4) service through mongolab. don't allow eval command , need re-create collection history collection nightly. we're using official c# driver , have within c# code (i can't run mongodump or execute shell). options i've found are

eval 'copyto', that's not allowed server-side find().foreach, can't find way query in c# mongodriver (commanddocument, commandwrapper, can't figure out syntax if it's possible). client-side total copy

i'd prefer not client-side copy. suggestions?

c# mongodb

No comments:

Post a Comment