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: Create an aggregation pipeline
In the MongoDB aggregation framework, I was hoping to use the $unwind operator on a map. Looks like it's not possible.
case class MatchStatus(
totalRows: Int,
fullMatch: Int,
noMatch: Int,...
pranali pagariya
Votes: 0
Answers: 1
How to compare string feild value in aggregation mongodb
in the following image i am using $project aggregation. i need to compare whether text feild is equals to 'A' or not using $cond. If this boolean condition is true it should return 1 otherwise 0. but ...

Haseeb Sheikh
Votes: 0
Answers: 1
MongoDB - How to get a date that is between two dates
I am creating a database for a dentist. On Tuesdays, the secretary sends reminders to all the patients who have an appointment for the next week.
The query I used in SQL is:
SELECT P.Name
, P....
briano93
Votes: 0
Answers: 1