---
title: "Discussion on \"How To Add A Row To The Collection\" | Hashnode"
description: "Discussion on \"How To Add A Row To The Collection\". The easiest way that we can add a new row to a collection in our MongoDB is to use Model.create({}).\nIf we want to add a row (you can think of row as meaning \"new data\") to our collection Name we could write:\nName.create({write the column names and v..."
url: "https://hashnode.com/posts/how-to-add-a-row-to-the-collection/633dd701662b2d2e54349e43"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Add A Row To The Collection](https://javasper.hashnode.dev/how-to-add-a-row-to-the-collection?utm_source=hashnode&utm_medium=feed)

The easiest way that we can add a new row to a collection in our MongoDB is to use Model.create({}). If we want to add a row (you can think of row as meaning "new data") to our collection Name we could write: Name.create({write the column names and v...

Oct 5, 2022 · 2 min read · javasper.hashnode.dev  
Read the article

-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#express](https://hashnode.com/tag/express)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Eric](https://hashnode.com/@javasper)

@javasper · Toronto, Canada

  
[View profile](https://hashnode.com/@javasper)

Full-Stack Web Developer

I'm a full-stack web developer who loves building new projects and learning new things It might not show from my posts, but I'm also quite funny.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
