skip to Main Content

Mongodb aggregate query to compare time in String format

I have data saved in db as follow: collection name: movies: [ {id:1, name:"abch", start:"12:00 pm", end:"03:00 pm"}, {id:2, name:"Annabelle", start:"08:30 am", end:"10:00 am"}, {id:3, name:"Spider Man homecoming", start:"11:30 am", end:"03:00 pm"}, {id:4, name:"Grudge", start:"10:00 pm", end"00:00 am"} ] I…

VIEW QUESTION
Back To Top
Search