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)
While doing aggregation in MongoDB in lookup pipeline the id field is not available to perform match
As mentioned I want to match tenant id while looking in the logs collection and I am aggregating over Tenants collection.
But this gives logs as an empty array.
But when I did hardcoded the tenant_id...
shubham
Votes: 0
Answers: 1
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 model a n-n relationsship in cloud firestore?
Let's say I have an app where users will be shown articles that fit the users filter criterias. For every article, I want to save if the user already saw the article or not, to make sure it will not b...

Patric
Votes: 0
Answers: 1
Mongo DB like search with count is very slow on 50 million collection data
In my application, I have a collection of 50 million data. I am using like search and then count the results on a particular field(i.e Patientfirstname). I also created an index on the Patientfirstnam...
user202
Votes: 0
Answers: 1