Patna MongoDB User Group and HackSlash Club NIT are excited to host a workshop filled with an interactive session, quizzes, and fun at the NIT Patna Campus on 10th October 2022.
The workshop will start with an introductory session and demo that will help provide a jumpstart to those new to MongoDB and will conclude with a session on deploying Serverless App on Google Cloud. The session will cover the basics of Serverless and Nextjs and then walk you through deploying your Nextjs-MongoDB App on Google Cloud.
The day will also include Trivia Swags and Snack times to help you have fun while you learn!
The sessions being planned are focused on intermediate database operations. If you are a beginner or have some experience with MongoDB already, there is something for all of you!
Based on your quiz performance and participation in Hands On, you may be nominated to be our next Patna MUG Leader!
Agenda
Time
Topic
11:00 AM
Meet and Greet
11:10 AM
Get Started with MongoDB Atlas
12:00 AM
MongoDB Demo and Fun Exercises
12:30 PM
Snacks
1:00 PM
Speaker Session: Deploying Nextjs Application on Google Cloud
To RSVP - Please click on the āā Goingā link at the top of this event page if you plan to attend. The link should change to a green button if you are Going. You need to be signed in to access the button.
Q.1 A customer with email: ānicoleanderson@hotmail.comā has forgot their username, help them find it using sample_analytics.customers
Ans ā username: āmillerreneeā,
query ā use sample_analytics
db.customers.find({āemailā: ānicoleanderson@hotmail.comā})
Q.2 In sample_mflix.movies, what is the runtime of the movie title āThe Kid Brotherā?
Ans ā 82
query ā use sample_mflix
db.movies.find({ātitleā: āThe Kid Brotherā})
Q.3 In sample_airbnb.listingsAndReviews, how many listings let you accommodates 15 folks?
Ans ā 3
query ā use sample_airbnb
db.listingsAndReviews.countDocuments({āaccommodatesā: 15})
Question 1:)
A customer with email : ānicoleanderson@hotmail.comā has forgot their username, please find it using sample_analytics.customers.
Answer 1:)
Query: {email: ānicoleanderson@hotmail.comā}
username:āmillerreneeā
Question 2:)
In sample_mflix.movies, what is the runtime of the movie title āThe Kid Brotherā?
Answer 2:)
Query: {title: āThe Kid Brotherā}
runtime:82
Question 3:)
In sample_airbnb.listingsAndReviews, how many listing let you accommodates 15 folks?
Answer 3:)
Query: { accommodates: 15}
3(Three) Listings accommodates 15 folks.
A customer with email: "nicoleanderson@hotmail.com"has forgot their username, help them find it using sample_analytics.customers?
Ans ā db.sample_analytics.customers.find({email:ānicoleanderson@hotmail.comā},{username:1})
this will project the username ā username: āmillerreneeā
In sample_mflix.movies, what is the runtime of the movie title āThe Kid Brotherā?
Ans ā db.sample_mflix.movies.find({title:āThe Kid Brotherā},{runtime:1})
82
In sample_airbnb.listingsAndReviews, how many listings let you accommodates 15 folks?
Ans ā db.sample_airbnb.listingsAndReviews({accommodates:15}).count()
3
Q1:) A customer with email: ānicoleanderson@hotmail.comā has forgot their username ,using sample_analytics.customers?
Ans:) username: āmillerreneeā
Query:) db.customers.find({email: ānicoleanderson@hotmail.conā})
Q2:) In sample_mflix.movies,what is runtime of the movie title āThe Kid Brotherā?
A2:) 82
Query:) db.movies.find({titile: āThe Kid Brotherā })
Q3:) In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
A3:) 3
Query:) db.listingsAndReviews.countDocuments({accommodates: 15})
q1:) A customer with email: ānicoleanderson@hotmail.comā has forgot their username ,using sample_analytics.customers?
ans:) username : āmillerreneeā
query:) db.customers.find({email: ānicoleanderson@hotmail.conā})
q2:) In sample_mflix.movies,what is runtime of the movie title āThe Kid Brotherā?
ans:) runtime : 82
query: db.movies.find({titile: āThe Kid Brotherā })
q3:) In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
ans:) 3
query: db.listingsAndReviews.countDocuments({accommodates: 15})
Ques1:) A customer with email: ānicoleanderson@hotmail.comā has forgot their username ,using sample_analytics.customers?
Answer:) username : āmillerreneeā
Query:) db.customers.find({email: ānicoleanderson@hotmail.conā})
Ques2:) In sample_mflix.movies,what is runtime of the movie title āThe Kid Brotherā?
Answer:) runtime : 82
Query: db.movies.find({Title: āThe Kid Brotherā })
Ques3:) In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
Answer:) 3
Query: db.listingsAndReviews.countDocuments({accommodates: 15})
Ques1:) A customer with email: ānicoleanderson@hotmail.comā has forgot their username ,using sample_analytics.customers?
Solution:) username : āmillerreneeā
Query:) db.customers.find({email: ānicoleanderson@hotmail.conā})
Ques2:) In sample_mflix.movies,what is runtime of the movie title āThe Kid Brotherā?
Solution:) runtime : 82
Query: db.movies.find({Title: āThe Kid Brotherā })
Ques3:) In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
Solution:) 3
Query: db.listingsAndReviews.countDocuments({accommodates: 15})
Ques 1:A customer with email: ānicoleanderson@hotmail.comā has forgot their username, please help them find it using sample_analytics.customers?
Output: [{username: āmillerreneeā}]
Query:
use sample_analytics
db.customers.find({email:ānicoleanderson@hotmail.comā})
Ques 2:In sample_mflix.movies,what is runtime of the movie title āThe Kid Brotherā?
Output:
[{runtime:82}]
Query:
use sample_mflix
db.movies.find({title:āThe Kid Brotherā})
Ques 3:In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
Output:
3
Query:
use sample_airbnb
db.listingsAndReviews.countDocuments({accommodates:15})
Question 1:
A customer with email : ānicoleanderson@hotmail.comā has forgot their username, please find it using sample_analytics.customers.
Answer:
Query: use sample_analytics
db.customers.find({āemailā: ānicoleanderson@hotmail.comā})
ā username:āmillerreneeā
Question 2:
In sample_mflix.movies, what is the runtime of the movie title āThe Kid Brotherā?
Answer:
Query: use sample_mflix
db.movies.find({ātitleā: āThe Kid Brotherā})
ā>runtime:82
Question 3:
In sample_airbnb.listingsAndReviews, how many listing let you accommodates 15 folks?
Answer:
Query: use sample_airbnb
db.listingsAndReviews.countDocuments({āaccommodatesā: 15})
Question 1:
A customer with email : ānicoleanderson@hotmail.comā has forgot their username, please find it using sample_analytics.customers.
Answer:
Query: use sample_analytics
db.customers.find({āemailā: ānicoleanderson@hotmail.comā})
OUTPUTā username:āmillerreneeā
Question 2:
In sample_mflix.movies, what is the runtime of the movie title āThe Kid Brotherā?
Answer:
Query: use sample_mflix
db.movies.find({ātitleā: āThe Kid Brotherā})
OUTPUTā>runtime:82
Question 3:
In sample_airbnb.listingsAndReviews, how many listing let you accommodates 15 folks?
Answer:
Query: use sample_airbnb
db.listingsAndReviews.countDocuments({āaccommodatesā: 15})