How should mongose query statements be written in this structure

  mongodb, question

clipboard.png

Requirements, the time range of data filtering picture description

meta: {
 createAt: {
 type: Date,
 dafault: Date.now()
 },
 updateAt: {
 type: Date,
 dafault: Date.now()
 }
 }
//Query the data of createAt on the whole day from July 25, 2018.
 yourModel.findOne(
 {"meta.createAt":{$gte:new Date("2019-07-25"),$lt:new Date("2019-07-26")}}
 ,callback
 );