A
A
AnonymS2021-09-16 10:29:32
MongoDB
AnonymS, 2021-09-16 10:29:32

Is it possible to execute Mongo scripts but as a string in C#?

The input is a string. This line is the mongo request. But I should just execute this line as a query in C#
Something like this:

string query = "db.getCollection("somename")";
Mongo.execute(query);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question