I am building a .NET application which works as IDE for MongoDB. Here user can enter raw MongoDB query/command.
For example:
db.getCollection('Employee').find({
"_id" : ObjectId("5f70db8e04f2f92d00123456")
})
Note: Above code is just for example. The commands vary depending on user's input.
This works fine in Mongo shell.
I tried using MongoDB Driver but it does not support raw MongoDB commands.
Is there a way to achieve using C#?
Also are there any third party libraries which executes raw mongodb commands?