With that usage we can search data inside our documents. It will return only name and rating variables from all of our document. 1 enables, 0 disables it.
db.COLLECTION-name.find({status: “A”});
With that usage we can list objects like their status variable is A. Variable names are example.
db.COLLECTION-NAME.find();
prints datas from spesified collection.
db.COLLECTION-NAME.count();
counts how many documents we have in that collection.
db.COLLECTION-NAME.find({});
with that empty object find function prints us to all documents.
db.COLLECTION-NAME.find({}).skip(1);
it skips the object 1. On JSON format objects are like arrays. Every object has index number.