<?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: Abinaya S</title>
    <description>The latest articles on DEV Community by Abinaya S (@abinaya_s_258b79a0fee6073).</description>
    <link>https://dev.to/abinaya_s_258b79a0fee6073</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%2F3458442%2F97867044-8fe7-4de2-bf64-6a92e0508b25.png</url>
      <title>DEV Community: Abinaya S</title>
      <link>https://dev.to/abinaya_s_258b79a0fee6073</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/abinaya_s_258b79a0fee6073"/>
    <language>en</language>
    <item>
      <title>How the Cloud Stores Our Data</title>
      <dc:creator>Abinaya S</dc:creator>
      <pubDate>Wed, 08 Oct 2025 04:42:15 +0000</pubDate>
      <link>https://dev.to/abinaya_s_258b79a0fee6073/how-the-cloud-stores-our-data-55ho</link>
      <guid>https://dev.to/abinaya_s_258b79a0fee6073/how-the-cloud-stores-our-data-55ho</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Every photo you upload, message you send, or file you share — all of it lives somewhere beyond your device. That “somewhere” is the cloud.&lt;br&gt;
Cloud technology allows massive amounts of data to be stored and accessed securely from anywhere in the world. Behind this simplicity lies a complex world of data formats — each designed for specific use cases in analytics, processing, and storage.&lt;br&gt;
Let’s explore six of the most popular formats used across cloud platforms and analytics systems.&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;Employee_ID&lt;/th&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Department&lt;/th&gt;
&lt;th&gt;Salary&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;E101&lt;/td&gt;
&lt;td&gt;Karthik&lt;/td&gt;
&lt;td&gt;HR&lt;/td&gt;
&lt;td&gt;52000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;E102&lt;/td&gt;
&lt;td&gt;Meena&lt;/td&gt;
&lt;td&gt;IT&lt;/td&gt;
&lt;td&gt;68000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;E103&lt;/td&gt;
&lt;td&gt;Varun&lt;/td&gt;
&lt;td&gt;Finance&lt;/td&gt;
&lt;td&gt;60000&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;Employee_ID,Name,Department,Salary
E101,Karthik,HR,52000
E102,Meena,IT,68000
E103,Varun,Finance,60000
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;Simple and widely supported&lt;/li&gt;
&lt;li&gt;Can be opened in Excel, Notepad, or any tool&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;No data types&lt;/li&gt;
&lt;li&gt;Inefficient for big data analytics&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 Employees (
  Employee_ID VARCHAR(10),
  Name VARCHAR(50),
  Department VARCHAR(30),
  Salary INT
);

INSERT INTO Employees VALUES
('E101', 'Karthik', 'HR', 52000),
('E102', 'Meena', 'IT', 68000),
('E103', 'Varun', 'Finance', 60000);


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

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;Highly structured and queryable&lt;/li&gt;
&lt;li&gt;Supports relationships and constraints&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Fixed schema&lt;/li&gt;
&lt;li&gt;Not flexible 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;[
  {"Employee_ID": "E101", "Name": "Karthik", "Department": "HR", "Salary": 52000},
  {"Employee_ID": "E102", "Name": "Meena", "Department": "IT", "Salary": 68000},
  {"Employee_ID": "E103", "Name": "Varun", "Department": "Finance", "Salary": 60000}
]

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

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;Flexible and easy to parse&lt;/li&gt;
&lt;li&gt;Perfect for modern web and mobile apps&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;No built-in schema&lt;/li&gt;
&lt;li&gt;Can become large in size&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;Conceptual View:&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;Employee_ID: ["E101", "E102", "E103"]
Name: ["Karthik", "Meena", "Varun"]
Department: ["HR", "IT", "Finance"]
Salary: [52000, 68000, 60000]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;High compression and query efficiency&lt;/li&gt;
&lt;li&gt;Best for cloud-scale analytics&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Not readable without tools&lt;/li&gt;
&lt;li&gt;Requires frameworks like Spark or PyArrow&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;Employees&amp;gt;
  &amp;lt;Employee&amp;gt;
    &amp;lt;Employee_ID&amp;gt;E101&amp;lt;/Employee_ID&amp;gt;
    &amp;lt;Name&amp;gt;Karthik&amp;lt;/Name&amp;gt;
    &amp;lt;Department&amp;gt;HR&amp;lt;/Department&amp;gt;
    &amp;lt;Salary&amp;gt;52000&amp;lt;/Salary&amp;gt;
  &amp;lt;/Employee&amp;gt;
  &amp;lt;Employee&amp;gt;
    &amp;lt;Employee_ID&amp;gt;E102&amp;lt;/Employee_ID&amp;gt;
    &amp;lt;Name&amp;gt;Meena&amp;lt;/Name&amp;gt;
    &amp;lt;Department&amp;gt;IT&amp;lt;/Department&amp;gt;
    &amp;lt;Salary&amp;gt;68000&amp;lt;/Salary&amp;gt;
  &amp;lt;/Employee&amp;gt;
  &amp;lt;Employee&amp;gt;
    &amp;lt;Employee_ID&amp;gt;E103&amp;lt;/Employee_ID&amp;gt;
    &amp;lt;Name&amp;gt;Varun&amp;lt;/Name&amp;gt;
    &amp;lt;Department&amp;gt;Finance&amp;lt;/Department&amp;gt;
    &amp;lt;Salary&amp;gt;60000&amp;lt;/Salary&amp;gt;
  &amp;lt;/Employee&amp;gt;
&amp;lt;/Employees&amp;gt;

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

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;Highly structured&lt;/li&gt;
&lt;li&gt;Excellent for document-based storage&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Verbose syntax&lt;/li&gt;
&lt;li&gt;Slower parsing compared to JSON&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 a binary format often used in streaming pipelines like Apache Kafka. It’s compact and includes schema definitions.&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": "Employee",
  "fields": [
    {"name": "Employee_ID", "type": "string"},
    {"name": "Name", "type": "string"},
    {"name": "Department", "type": "string"},
    {"name": "Salary", "type": "int"}
  ]
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;ul&gt;
&lt;li&gt;Compact and fast&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;Needs Avro-compatible tools&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 plays a critical role in how cloud systems store and process information.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Use Case&lt;/th&gt;
&lt;th&gt;Format&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Lightweight exports&lt;/td&gt;
&lt;td&gt;CSV&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Relational storage&lt;/td&gt;
&lt;td&gt;SQL&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;APIs and NoSQL&lt;/td&gt;
&lt;td&gt;JSON&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Big data analytics&lt;/td&gt;
&lt;td&gt;Parquet&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Document hierarchy&lt;/td&gt;
&lt;td&gt;XML&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Streaming pipelines&lt;/td&gt;
&lt;td&gt;Avro&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Data is the foundation of the modern world — and &lt;strong&gt;the cloud is its home&lt;/strong&gt;. Choosing the right format ensures efficiency, scalability, and smarter data handling.&lt;/p&gt;

</description>
      <category>cloudcomputing</category>
      <category>aws</category>
      <category>googlecloud</category>
    </item>
    <item>
      <title>Exploring MongoDB with Hands-on Queries</title>
      <dc:creator>Abinaya S</dc:creator>
      <pubDate>Mon, 25 Aug 2025 16:32:58 +0000</pubDate>
      <link>https://dev.to/abinaya_s_258b79a0fee6073/exploring-mongodb-with-hands-on-queries-1dii</link>
      <guid>https://dev.to/abinaya_s_258b79a0fee6073/exploring-mongodb-with-hands-on-queries-1dii</guid>
      <description>&lt;p&gt;Hello everyone,&lt;/p&gt;

&lt;p&gt;I’ve recently begun my journey into databases and decided to dive into MongoDB, one of the most widely used NoSQL databases. Unlike relational databases that rely on structured tables, MongoDB works with flexible, JSON-style documents. This makes it much easier to handle unstructured or evolving data and is especially useful for applications that demand high scalability and adaptability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.Getting Started&lt;/strong&gt;&lt;br&gt;
My MongoDB journey began with the installation process. Once it was set up, I created a database named Business and a collection called Review to begin experimenting with data storage.&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%2F0lx7gkghq68t4wy75a2t.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%2F0lx7gkghq68t4wy75a2t.png" 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;
After setting up the database, I brought in my dataset “yelp.json”, which contains around 1000 records, to start working with real-world 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%2Fmk6f5oe8t3zew7cjy8md.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%2Fmk6f5oe8t3zew7cjy8md.png" 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%2Fxomy8k02faouigt1blo2.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%2Fxomy8k02faouigt1blo2.png" alt=" " width="800" height="598"&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;
Once the dataset was imported, I practiced adding data by inserting 10 documents into the 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%2Fuzvjdscbxml1v5mb98zg.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%2Fuzvjdscbxml1v5mb98zg.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%2Fao13wg4s8d4g20zovbd6.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%2Fao13wg4s8d4g20zovbd6.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;
Next, I used the aggregate function to calculate and retrieve the Top 5 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%2F3fkf5bohcjktk41xn5ng.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%2F3fkf5bohcjktk41xn5ng.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;
I applied the countDocuments method to determine the total number of reviews that include the word “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%2F76yv1lpfdqk8m7lf6hwa.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%2F76yv1lpfdqk8m7lf6hwa.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;br&gt;
I used the find() method to fetch all the reviews linked to a particular business ID.&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%2Fxkkm1auale0mr4n028k7.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%2Fxkkm1auale0mr4n028k7.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;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&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%2Fpgu8ij4y8jptm0yg6mv2.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%2Fpgu8ij4y8jptm0yg6mv2.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%2F6w326e1vevwxl83njzrw.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%2F6w326e1vevwxl83njzrw.png" alt=" " width="312" height="229"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Through this task, I gained practical exposure to how MongoDB can manage and analyze diverse datasets effectively. I explored different operations such as inserting documents, retrieving records, running queries with conditions, performing aggregations, and applying update/delete operations. These activities helped me understand how NoSQL databases handle information dynamically compared to traditional relational databases.&lt;/p&gt;

&lt;p&gt;This mini-project gave me the confidence to work with unstructured data and highlighted the importance of MongoDB in modern data-driven applications. Moving forward, I am eager to dive deeper into advanced concepts like replication, sharding, and performance optimization, which are crucial for building scalable real-world systems.&lt;/p&gt;

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