Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
20 views1 page

Mongodb Lab Questions

The document outlines a series of MongoDB scripts for various operations. It includes creating a database and performing insert operations in a 'student' collection, updating and replacing documents in a 'restaurant' collection, updating documents using aggregation in an 'employee' collection, deleting documents in a 'bank' collection, and performing string aggregation in a 'Book publisher' collection. Each script requires the creation of custom fields for the respective collections.

Uploaded by

msukumarbtech
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views1 page

Mongodb Lab Questions

The document outlines a series of MongoDB scripts for various operations. It includes creating a database and performing insert operations in a 'student' collection, updating and replacing documents in a 'restaurant' collection, updating documents using aggregation in an 'employee' collection, deleting documents in a 'bank' collection, and performing string aggregation in a 'Book publisher' collection. Each script requires the creation of custom fields for the respective collections.

Uploaded by

msukumarbtech
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Write a script to create a MongoDB database and perform all kinds

of insert operation in “student” collection (create fields on your own)

Write a MongoDB Script to perform all kinds of update and replace


operation in “restaurant” collection (create fields on your own)

Write a MongoDB Script to Update documents with aggregation


pipeline in “employee” collection (create fields on your own)

Write a MongoDB Script to delete single and multiple documents in


“bank” collection (create fields on your own)

Write a MongoDB Script to perform string aggregation operation in


“Book publisher” collection (create fields on your own)

Write a script to create a MongoDB database and perform all kinds


of insert operation in “student” collection (create fields on your own)

Write a MongoDB Script to perform all kinds of update and replace


operation in “restaurant” collection (create fields on your own)

Write a MongoDB Script to Update documents with aggregation


pipeline in “employee” collection (create fields on your own)

Write a MongoDB Script to delete single and multiple documents in


“bank” collection (create fields on your own)

Write a MongoDB Script to perform string aggregation operation in


“Book publisher” collection (create fields on your own)

You might also like