There are six devices in a collection, each has many records, some have records of new dates and some have week or/and month older. I need a query which returns latest last
use findOne instead of find Query db.collection.findOne({})