skip to Main Content

Mongodb – How to get dates in specific array mongo

I have mongo collection with objects with 2 fields: available_from and available_to Mongo collection: [ { "_id": ObjectId("66ed4d5ede0184e906f9397a"), "available_from": ISODate("2024-09-20T00:00:00.000Z"), "available_to": ISODate("2024-09-30T00:00:00.000Z") } ] I want to get all dates which are in specific array For example my input is:…

VIEW QUESTION
Back To Top
Search