You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 26, 2023. It is now read-only.
npm install mongoose --save
// to run
mongod // starts the daemon
mongo // check out the documents
MONGO-2: Mongo Shell
show dbs — // display the databases
use bookworm — // specify the database you're going to work with
show collections — // shows the document collections for the selected database
db.users.find() — // display all the documents in the users collection
db.users.find().pretty() — // nicer format for output documents within the shell
db.users.drop() — // remove the users collection from the current database