top of page

MongoDB

Public·2 members

Getting started with MongoDB Document

Installing and Downloading mongo db



8 Views

MongoDB Query Examples


After importing json file 

Mongodb

show dbs

use city

--------------------------------------------- 1.Insert --------------------------------------------- Q- Insert the recored in collection "inspections" where "id" : "10021-2015-ENFP", "certificate_number" : 9278809, "business_name" : "Codersarts", "date" : "Feb 20 2019", "result" : "No Violation Issued", "sector" : "Cigarette Retail Dealer - 127".



> db.inspections.insert( {"id" : "10021-2015-ENFM",
"certificate_number" : 9278810,
"business_name" : "Sofstack",
"date" : "Feb 20 2019",
"result" : "No Violation Issued",
"sector" : "Noida 63",
} );

Output look like: WriteResult({ "nInserted" : 1 })


-----------------------------------------------

2. Remove(delete) -----------------------------------------------


212 Views

Write mongoDB Queries

Suppose that you are given a collection of JSON documents that represent a database of multiple choice exams taken by students.


Write mongoDB queries to answer the following questions:


  • Determine the total number of exams.

  • Determine the number of students that got questionid 34532

  • Determine the average grade of all students that took exam number 2 of 198:111 in the Fall of 2015.

  • For each (letter) grade determine the number of students that got that grade


74 Views

MongoDB Assignment Help,Expert Help,Tutors

MongoDB Assignment Help | Expert Help

MongoDB is one of the most important databases you can work with these days. It's extremely popular and MongoDB developers are in high demand.The leading NoSQL database, empowers businesses to be more powerful and scalable.


It is the best solution for a startup or a big enterprise with heavy write loads, big data sets, and location based data. We provide you with the world-class product data management, e-commerce websites, and Content Management Systems. With Mongo DB, we build mobile apps at a faster rate (within weeks) with any feature, data, and any device which scales to million users.


No matter if you're building web applications, mobile applications or any other kind of application or if you're a data scientist - you'll need to work with data. Storing data, querying it efficiently and minimizing complexities whilst optimizing performance are crucial tasks.


193 Views
    bottom of page