S
S
sg13902015-08-17 11:12:02
MongoDB
sg1390, 2015-08-17 11:12:02

How to make an arbitrary request to mongodb in c#?

Please tell me if it is possible to directly execute queries in mongoDb from .net, i.e. for example, do not write code:
var database = client.GetDatabase("test");
var collection = database.GetCollection("users");
How about just passing the query to db.users.find() ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Kovalsky, 2015-08-17
@dmitryKovalskiy

docs.mongodb.org/ecosystem/drivers/csharp - Already the official website of the MongoDb project. with documentation and examples. Didn't fit?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question