This document outlines a lab exercise for Database Engineering focusing on querying data in MongoDB using the mongosh console. It includes steps for setting up a database and collection, inserting sample data, and performing queries using element operators such as $exists and $type. The document is part of a course for a B.Tech CSE student at UPES, Dehradun.
This document outlines a lab exercise for Database Engineering focusing on querying data in MongoDB using the mongosh console. It includes steps for setting up a database and collection, inserting sample data, and performing queries using element operators such as $exists and $type. The document is part of a course for a B.Tech CSE student at UPES, Dehradun.