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)
How to ignore case when using filters with the mongo driver in dot net core with C#
I have an aggregates pipeline query as below:
string [] sids = { array of Student ids here };
string deptName = "math";
var pipeline = new BsonDocument[]
{
new BsonDocument(&qu...
user20358
Votes: 0
Answers: 1
Update mongo collection with values from a javascript map
I have a collection that looks like this
[
{
"project":"example1",
"stores":[
{
"id":"10"
"name&q...

s.demuro
Votes: 0
Answers: 2
Updating a nested array using $indexOfArray and $slice in MongoDB
Using the following documents, we are able to do what we need to do which is essentially "re-parenting" a document that stores an array of ancestors like so:
db.getCollection("myarrays&...
Tom
Votes: 0
Answers: 1
Mongo Group By query
I have data stored in a Mongo collection that is structured like this:
{
"numberAtPending" : 3,
"numberAtInProgress" : 5,
"numberAtCancelled" : 1,
"...
R111
Votes: 0
Answers: 1