We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
HackerRank Home
  1. Skills Directory
  2. MongoDB
MongoDB

MongoDB

Basic

MongoDB is a document-based No-SQL database. MongoDB stores all schema and records using a JSON-like syntax and makes use of collections and documents.

This competency area includes creating a new database with a new collection, users, collections, inserting, and returning documents, among others. 

Key Competencies:

  1. Create a database with a collection - ​This competency area includes creating a new database with a new collection.
  2. Create a database user - ​This competency area includes creating a database user.

  3. List all collections - ​This competency area includes listing all collections in a database.

  4. Insert a document in a collection - ​This competency area includes inserting a single JSON document into a collection.

  5. Return all documents in a collection - ​This competency area includes retrieving all the documents in a given collection.

  6. Find a single document by ID​ - This competency area includes finding a document in a collection by ID.

  7. Create an index to support queries - ​This competency area includes creating a database index to optimize queries.

View all skills
  • Blog
  • Scoring
  • Environment
  • FAQ
  • About Us
  • Support
  • Careers
  • Terms Of Service
  • Privacy Policy

Cookie support is required to access HackerRank

Seems like cookies are disabled on this browser, please enable them to open this website