I have a collection with the following structure.
{
 "_id" : ObjectId("5cd29db3a113b44030c5905e"),
 "username": "xyz"
}
I want to get all the usernames whose _id corresponds to the timestamp 7 days ago.
I want a mongo query which can do this.
Is it possible to get this just from a query?