{"version":"1.0","type":"rich","title":"Mongo Basics Drills","description":"This example shows a series of MongoDB shell commands that demonstrate basic CRUD operations and query patterns against a restaurant dataset. The code performs actions like finding all documents, sorting and limiting results, retrieving documents by `_id` or field values, counting records, deleting single documents, and updating either one or many documents using `updateOne` and `update` with the `$set` operator. It also illustrates how to obtain an `ObjectId` from a query result and use it for subsequent operations. The visualization presents these commands as a linear drill sequence, making the MongoDB query syntax and workflow explicit.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-91368af7bd8fde51ff87b412a61da8c2?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}