skip to Main Content

Nest.js MongoDb always return results

So the find method always returns results even when there are no results that match the search query. What could be the reason? Schema: export const ReviewScehma = new mongoose.Schema({ reviewId: { type: String, default: '' }, authorName: { type:…

VIEW QUESTION

Mongodb – How to create incremental range aggregation in mongoose from a query parameter. i.e. create an incremental range from a field value

So the data set looks like this: screenshot of the data structure { "YearWeekISO": "2020-W53", "FirstDose": 0, "FirstDoseRefused": "", "SecondDose": 0, "DoseAdditional1": 0, "DoseAdditional2": 0, "UnknownDose": 0, "NumberDosesReceived": 0, "NumberDosesExported": 0, "Region": "AT", "Population": "8901064", "ReportingCountry": "AT", "TargetGroup": "ALL", "Vaccine":…

VIEW QUESTION
Back To Top
Search