<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Abijith Raja B</title>
    <description>The latest articles on DEV Community by Abijith Raja B (@abijith_rajab_7dc1ac8d79).</description>
    <link>https://dev.to/abijith_rajab_7dc1ac8d79</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3458813%2F6ff0a4dc-449c-4143-b4a4-e82cd4ccc23c.png</url>
      <title>DEV Community: Abijith Raja B</title>
      <link>https://dev.to/abijith_rajab_7dc1ac8d79</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abijith_rajab_7dc1ac8d79"/>
    <language>en</language>
    <item>
      <title>DATA FLOATING IN THE CLOUD</title>
      <dc:creator>Abijith Raja B</dc:creator>
      <pubDate>Wed, 08 Oct 2025 04:27:00 +0000</pubDate>
      <link>https://dev.to/abijith_rajab_7dc1ac8d79/data-floating-in-the-cloud-2m30</link>
      <guid>https://dev.to/abijith_rajab_7dc1ac8d79/data-floating-in-the-cloud-2m30</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In today’s digital world, data moves faster than ever before. From online classes to global business systems, one invisible force connects it all — the cloud.&lt;br&gt;
But when we say data in the cloud, it doesn’t mean our information is literally floating in the sky. Instead, it’s stored safely in large, distributed data centers managed by powerful servers. These servers allow us to access files, photos, and applications anytime, anywhere.&lt;br&gt;
Let’s explore how data is represented in six different formats used widely in data analytics and cloud platforms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Data Formats in Cloud Analytics&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every time you store, share, or query data in the cloud, you’re likely dealing with one of these six formats:&lt;/p&gt;

&lt;p&gt;CSV – Simple text-based, comma-separated data&lt;/p&gt;

&lt;p&gt;SQL – Relational, structured data tables&lt;/p&gt;

&lt;p&gt;JSON – Lightweight, flexible key-value data&lt;/p&gt;

&lt;p&gt;Parquet – Efficient, columnar storage for big data&lt;/p&gt;

&lt;p&gt;XML – Markup-based hierarchical data&lt;/p&gt;

&lt;p&gt;Avro – Binary, schema-driven data for streaming&lt;/p&gt;

&lt;p&gt;To make it easy to understand, let’s take a small dataset and represent it in all six formats.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sample Dataset&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Roll_No&lt;/th&gt;
&lt;th&gt;Course&lt;/th&gt;
&lt;th&gt;Grade&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Aadhira&lt;/td&gt;
&lt;td&gt;201&lt;/td&gt;
&lt;td&gt;Data Science&lt;/td&gt;
&lt;td&gt;A&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Niveth&lt;/td&gt;
&lt;td&gt;202&lt;/td&gt;
&lt;td&gt;AI&lt;/td&gt;
&lt;td&gt;B+&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Rahul&lt;/td&gt;
&lt;td&gt;203&lt;/td&gt;
&lt;td&gt;Cloud Computing&lt;/td&gt;
&lt;td&gt;A+&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;1️⃣ CSV (Comma Separated Values)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;CSV is one of the simplest and most human-readable formats. Each record is written in one line, and each field is separated by commas.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Name,Roll_No,Course,Grade
Aadhira,201,Data Science,A
Niveth,202,AI,B+
Rahul,203,Cloud Computing,A+
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ Pros&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easy to read and edit&lt;/li&gt;
&lt;li&gt;Works with almost every tool like Excel, Python, and Google Sheets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;⚠️ Cons&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No data types or schema&lt;/li&gt;
&lt;li&gt;Not suitable for very large datasets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;2️⃣ SQL (Structured Query Language)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;SQL is the language of relational databases. It stores data in tables with defined columns and allows complex queries.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;CREATE TABLE Students (
  Name VARCHAR(50),
  Roll_No INT,
  Course VARCHAR(50),
  Grade CHAR(2)
);

INSERT INTO Students VALUES
('Aadhira', 201, 'Data Science', 'A'),
('Niveth', 202, 'AI', 'B+'),
('Rahul', 203, 'Cloud Computing', 'A+');
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ Pros&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Structured and organized&lt;/li&gt;
&lt;li&gt;Perfect for queries, filters, and joins&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;⚠️ Cons&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Rigid schema&lt;/li&gt;
&lt;li&gt;Not suitable for nested data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3️⃣ JSON (JavaScript Object Notation)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;JSON is the go-to format for APIs and NoSQL databases. It’s lightweight and great for representing hierarchical data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[
  {"Name": "Aadhira", "Roll_No": 201, "Course": "Data Science", "Grade": "A"},
  {"Name": "Niveth", "Roll_No": 202, "Course": "AI", "Grade": "B+"},
  {"Name": "Rahul", "Roll_No": 203, "Course": "Cloud Computing", "Grade": "A+"}
]



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ Pros&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easy to parse in web apps&lt;/li&gt;
&lt;li&gt;Supports nested structures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;⚠️ Cons&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No strict schema&lt;/li&gt;
&lt;li&gt;Becomes bulky for large datasets&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;4️⃣ Parquet (Columnar Storage Format)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Parquet is built for big data analytics. It stores data column-wise, improving compression and query performance — ideal for tools like AWS Athena or Spark.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Name: ["Aadhira", "Niveth", "Rahul"]
Roll_No: [201, 202, 203]
Course: ["Data Science", "AI", "Cloud Computing"]
Grade: ["A", "B+", "A+"]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ Pros&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;High compression&lt;/li&gt;
&lt;li&gt;Fast analytical queries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;⚠️ Cons&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Not human-readable&lt;/li&gt;
&lt;li&gt;Needs specialized tools (e.g., PyArrow, Spark)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;5️⃣ XML (Extensible Markup Language)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;XML represents data using tags. It’s structured and self-descriptive — often used in web services or configurations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;Students&amp;gt;
  &amp;lt;Student&amp;gt;
    &amp;lt;Name&amp;gt;Aadhira&amp;lt;/Name&amp;gt;
    &amp;lt;Roll_No&amp;gt;201&amp;lt;/Roll_No&amp;gt;
    &amp;lt;Course&amp;gt;Data Science&amp;lt;/Course&amp;gt;
    &amp;lt;Grade&amp;gt;A&amp;lt;/Grade&amp;gt;
  &amp;lt;/Student&amp;gt;
  &amp;lt;Student&amp;gt;
    &amp;lt;Name&amp;gt;Niveth&amp;lt;/Name&amp;gt;
    &amp;lt;Roll_No&amp;gt;202&amp;lt;/Roll_No&amp;gt;
    &amp;lt;Course&amp;gt;AI&amp;lt;/Course&amp;gt;
    &amp;lt;Grade&amp;gt;B+&amp;lt;/Grade&amp;gt;
  &amp;lt;/Student&amp;gt;
  &amp;lt;Student&amp;gt;
    &amp;lt;Name&amp;gt;Rahul&amp;lt;/Name&amp;gt;
    &amp;lt;Roll_No&amp;gt;203&amp;lt;/Roll_No&amp;gt;
    &amp;lt;Course&amp;gt;Cloud Computing&amp;lt;/Course&amp;gt;
    &amp;lt;Grade&amp;gt;A+&amp;lt;/Grade&amp;gt;
  &amp;lt;/Student&amp;gt;
&amp;lt;/Students&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ Pros&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Self-descriptive and structured&lt;/li&gt;
&lt;li&gt;Great for hierarchical data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;⚠️ Cons&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Verbose and heavy&lt;/li&gt;
&lt;li&gt;Slower to parse&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;6️⃣ Avro (Row-Based Storage Format)&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Avro is used for data streaming and serialization. It stores data in binary along with a schema — ensuring compactness and compatibility over time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Schema Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
  "type": "record",
  "name": "Student",
  "fields": [
    {"name": "Name", "type": "string"},
    {"name": "Roll_No", "type": "int"},
    {"name": "Course", "type": "string"},
    {"name": "Grade", "type": "string"}
  ]
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;✅ Pros&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Compact binary format&lt;/li&gt;
&lt;li&gt;Schema evolution supported&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;⚠️ Cons&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Not human-readable&lt;/li&gt;
&lt;li&gt;Requires Avro libraries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Each data format serves a unique purpose in the cloud ecosystem:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Use Case&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Simple exports/logs -&amp;gt;  CSV&lt;br&gt;
Relational databases -&amp;gt; SQL&lt;br&gt;
APIs or nested data -&amp;gt;  JSON&lt;br&gt;
Big data analytics -&amp;gt;   Parquet&lt;br&gt;
Hierarchical data -&amp;gt;    XML&lt;br&gt;
Real-time streaming -&amp;gt;  Avro&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;In essence, data in the sky isn’t just about storage — it’s about choosing the right format for the right purpose.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloudcomputing</category>
      <category>database</category>
    </item>
    <item>
      <title>Hands-on Exploration of MongoDB with Practical Queries</title>
      <dc:creator>Abijith Raja B</dc:creator>
      <pubDate>Tue, 26 Aug 2025 09:03:11 +0000</pubDate>
      <link>https://dev.to/abijith_rajab_7dc1ac8d79/hands-on-exploration-of-mongodb-with-practical-queries-3m0o</link>
      <guid>https://dev.to/abijith_rajab_7dc1ac8d79/hands-on-exploration-of-mongodb-with-practical-queries-3m0o</guid>
      <description>&lt;p&gt;Hello everyone,&lt;/p&gt;

&lt;p&gt;I’ve recently started my journey into the world of databases and chose MongoDB as my starting point. As one of the most popular NoSQL databases, MongoDB offers flexibility by storing data in JSON-like documents instead of rigid relational tables. This makes it particularly effective for handling unstructured or evolving datasets while ensuring scalability and adaptability—qualities that are vital for modern applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.Getting Started&lt;/strong&gt;&lt;br&gt;
I began by installing MongoDB and setting up a database named Business with a collection called Review. This served as the foundation for my experiments with data storage and manipulation.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftb1nosd785cvbghe5w0f.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftb1nosd785cvbghe5w0f.jpg" alt=" " width="800" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.Importing the Dataset&lt;/strong&gt;&lt;br&gt;
To work with real-world data, I imported a dataset named yelp.json containing about 1000 records. This dataset provided the context for applying queries and understanding how MongoDB processes data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffjbdy0mmfk3z6weuan5m.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffjbdy0mmfk3z6weuan5m.jpg" alt=" " width="711" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw4w1t39l7olw6awkzk4y.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw4w1t39l7olw6awkzk4y.jpg" alt=" " width="800" height="548"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3.Inserting Multiple Documents with insertMany()&lt;/strong&gt;&lt;br&gt;
After loading the dataset, I practiced adding additional records by inserting 10 documents into the Review collection using the insertMany() method.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flljs4l14gh1unmzyuahh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flljs4l14gh1unmzyuahh.png" alt=" " width="800" height="590"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After inserting the datasets &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp5czv9tvh4g9v5ge6q60.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp5czv9tvh4g9v5ge6q60.png" alt=" " width="623" height="463"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Query to Find Top 5 Businesses with Highest Average Rating&lt;/strong&gt;&lt;br&gt;
I utilized the aggregate function to identify the top five businesses based on their average ratings.&lt;/p&gt;

&lt;p&gt;db.reviews.aggregate([&lt;br&gt;
{ $group: { _id: "$business_id", avg_rating: { $avg: "$stars" } } },&lt;br&gt;
{ $sort: { avg_rating: -1 } },&lt;br&gt;
{ $limit: 5 }&lt;br&gt;
])&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl8cl2hvyyfvxvfkd0xrk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl8cl2hvyyfvxvfkd0xrk.png" alt=" " width="759" height="801"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Query to Count Reviews Containing the Word “good”&lt;/strong&gt;&lt;br&gt;
To measure customer sentiment, I applied the countDocuments method to find the number of reviews containing the keyword “good.”&lt;/p&gt;

&lt;p&gt;db.reviews.countDocuments({ text: /good/i })&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv48ppcmclwrhhnfgy83n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv48ppcmclwrhhnfgy83n.png" alt=" " width="800" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6.Query to Retrieve Reviews for a Specific Business ID&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I retrieved all reviews linked to a particular business ID using the find() method.&lt;/p&gt;

&lt;p&gt;db.reviews.find({ business_id: "B101" })&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0wthwnbkgc6bxzjysmy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp0wthwnbkgc6bxzjysmy.png" alt=" " width="800" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7.Update a review and delete a record&lt;br&gt;
7.1: Updating a Review&lt;/strong&gt;&lt;br&gt;
I updated a single document in the collection by using the updateOne() method.&lt;/p&gt;

&lt;p&gt;db.reviews.updateOne(&lt;br&gt;
{ review_id: "R107" },&lt;br&gt;
{&lt;br&gt;
$set: {&lt;br&gt;
stars: 4,&lt;br&gt;
text: "The food was good and the service was friendly. I enjoyed the atmosphere, but I felt it was a bit crowded."&lt;br&gt;
}&lt;br&gt;
}&lt;br&gt;
);&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu32slyifz7td03y84wjz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fu32slyifz7td03y84wjz.png" alt=" " width="800" height="329"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7.2: Deleting a Record&lt;/strong&gt;&lt;br&gt;
I removed one document from the collection by applying the deleteOne() method.&lt;/p&gt;

&lt;p&gt;db.reviews.deleteOne(&lt;br&gt;
{ review_id: "R104" }&lt;br&gt;
);&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5jdm6aojcp6bqyia7sua.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5jdm6aojcp6bqyia7sua.png" alt=" " width="312" height="229"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This mini-project provided me with valuable hands-on experience in MongoDB. I explored essential operations such as inserting documents, retrieving data, applying filters, performing aggregations, and executing update/delete actions.&lt;/p&gt;

&lt;p&gt;Through this, I gained an appreciation of how MongoDB handles dynamic, unstructured data compared to traditional relational databases. Moving forward, I am excited to explore advanced MongoDB features like replication, sharding, and performance optimization, which are crucial for developing highly scalable, real-world systems.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
