skip to Main Content

MongoDB – Get data in date sections from an array

I am new to MongoDB, I want to get data in sections from the array. { "name":"User name", "messages":[ { "message":"Message 1", "date":"2022-05-12T00:00:00.000Z" }, { "message":"Message 2", "date":"2022-05-12T00:00:00.000Z" }, { "message":"Message 3", "date":"2022-05-13T00:00:00.000Z" }, { "message":"Message 4", "date":"2022-05-13T00:00:00.000Z" }, {…

VIEW QUESTION
Back To Top
Search