This story is all about Security checkpoints in DB.

As we all know MongoDB provides various attributes like Authentication, Authorization, Access Control, Encryption to secure your MongoDB deployments.

Client-Level Encryption :-

MongoDB provides a client-side encryption framework. Each application has multiple fields in the documents, We can encrypt each fields while transferring data over the sever. Application only access to right keys can decrypt and read the protected data. MongoDB authentication uses a TLS encryption to protect data in transit.

  • >Each transaction generate a fresh token for login process in any application.
  • >To view high sensitivity data in a decrypted…

Hello Everyone, in our last story we learned the conversion of SQL queries to MongoDB. In this story, we will see what data modeling is, Types, and advantages. Here we go…!!!

Consideration :- Whenever we are designing any application we must have to take care of some parameters which are given below.

i) Data Usage of Application = In terms of queries, updates, and data processing.

ii) Inherent data structure = To reduce complexity issues of data structure using various optimized queries.

Design of Data Model :- There are two types of data models which is provided by MongoDB =>…

Hello guys, in our last story we learned, how to convert SQL queries into MongoDB. In this story, we are going to learn MongoDB Aggregation. Let’s start…!!!


  1. In MongoDB, Aggregation is an operation where we can process different types of collections and we can calculate results according to different conditions.
  2. We can perform different types of operations on group data to get a single result. As we all know the Count (*) in SQL and group by is the same as the Aggregation in MongoDB.
  3. We can use the Aggregate() method for aggregation in MongoDB. …

Hey...!!! In our last story, we learned some basic MongoDB concepts. In this story, we are going to learn how to convert SQL queries in MongoDB queries with the help of examples. Here we go…!!!

The features and dimension for SQL and MongoDB differs.


SQL => Creating a table of stories with respect to id and name

“ CREATE TABLE stories (storyID int , storyTitle varchar(255));”

MongoDB => Creating a new collection of Stories

> db.createCollection(“stories”)
{ “ok” : 1 }


SQL => Inserting a new entry in classA table with columns and values.

Hey guys …! I am going to explain the concepts of MongoDB. The basic motive is to explain in the easiest way.

Key Indexing:-

  • With the help of indexing, an identifier is created against the key. This creates an index, just look like an index of a book. This makes data accessibility faster.
  • eg. Each book has its personal index where we get to know about the syllabus or we can say key-points book.

Bucket Sort:-

It is not an Algorithm !!!!!!!

Yes, we can not say that, it is an Algorithm but basically It is used for divide Large data into smaller chunks so that you can easily identify data and use it.

Whereas we can use the insertion algorithm for sorting of bucket’s sub-list.

It is not possible to create buckets unless upper and lower bounds are known.

More Buckets = More Comparison’s required to put items into the correct bucket.

Bucket Sort Problem:-

Step 1: Let's consider a list of 8 elements A(8)

Step 2: We are going to create two…

Insertion-Sort :-

It is a sorting algorithm, where we compared all sorted sub-list with unsorted sub-list using one element at one time…

Insertion Sort problem :-

Q. What is Bubble Sort?

Bubble Sort is an algorithm which compares the value of the first element with the immediate next element and swaps …

Bubble Sort Problem:-

Minakshee Bagul

Believe in Self-Learning. | Enthusiastic | Data Exploring

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store