---
title: "Discussion on \"What is \"Namespace\" in MongoDB?\" | Hashnode"
description: "Discussion on \"What is \"Namespace\" in MongoDB?\". Namespace is the canonical name for a collection or index in MongoDB. It is a combination of the database name and the name of the collection or index"
url: "https://hashnode.com/posts/what-is-namespace-in-mongodb/63348779923e041642761a42"
---

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

Discussion

# [What is "Namespace" in MongoDB?](https://rajamuhammadasher.com/what-is-namespace-in-mongodb?utm_source=hashnode&utm_medium=feed)

Namespace is the canonical name for a collection or index in MongoDB. It is a combination of the database name and the name of the collection or index

Jun 1, 2022 · 1 min read · rajamuhammadasher.com  
Updated Oct 7, 2022  
Read the article

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

## Written by

[Raja Muhammad Asher](https://hashnode.com/@rajamuhammadasher)

@rajamuhammadasher · USA

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

Full Stack Developer

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating &amp; making a difference

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
