To get only a single result, use findOne() and fetch on the basis of id. Let us create a collection with documents −> db.demo340.
確定! 回上一頁