python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
MongoDB .NET Driver - Convert lambda expressions to JSON object
I need to execute my queries as string instead of lambda expressions because I am having a hard time using mocking frameworks in order to create unit tests for my projects.
In other words, I want to m...
Tono Nam
Votes: 0
Answers: 1
MongoDb C# query performance
I have the MongoDB C# Driver 2.14.1 and a Mongo Server v3.6 running on a Docker container. I'm running an easy (I think) query over 3 collections. The biggest collection has 400k documents, each docum...
Carlos Torrecillas
Votes: 0
Answers: 0
MongoDB.NET Driver query for $lte and $gte throwing error: An object representing an expression must have exactly one field
FilterDefinition<DM.Content> filterDefinition = Builders<DM.Content>.Filter.Empty;
filterDefinition &= Builders<DM.Content>.Filter.Eq(x => x.IsDeleted, false);
if (contentType...

Virendra Parade
Votes: 0
Answers: 1
MongoDB .NET Driver update Cannot use the part ... to traverse the element
I'm trying to rename a field but I end up getting an error. What could I be missing?
A write operation resulted in an error.
cannot use the part (Orders of Orders.Number) to traverse the element ({Or...
JonnyJon44
Votes: 0
Answers: 1