Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7860269
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:13:08+00:00 2026-06-02T22:13:08+00:00

Reading the introduction to MongoDB I am a little confused. It seems the Database

  • 0

Reading the introduction to MongoDB I am a little confused. It seems the Database is made of Collections, which are made of documents, which are made of fields, which are made of key/value pairs. The value can be a document.

To me this seems strange. If a document contains a key/value pair of which the value is the document itself, then it seems the database will explode as it will be infinitely recursive.

I have only just downloaded the database engine and driver so haven’t got started preacticing monog yet, but I was just a little perplexed by this statement.

It can be found here http://www.mongodb.org/display/DOCS/Introduction

Could anyone explain how mongodb prevents infinite recursion?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T22:13:15+00:00Added an answer on June 2, 2026 at 10:13 pm

    You probably talking about DBRefs.
    They are just a links to other documents (“addresses” of another do, not documents themselves.
    You can not read fields of DBRefs like you can for documents, so it basically is “address” of another document, not document itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm reading A Gentle Introduction to Haskell (which is not so gentle) and it
I was reading this excellent article which gives an introduction to Asynchronous programming here
I started reading 'Introduction to Algorithms' today, but I've gotten a bit confused over
I was reading the following link , which provides an introduction to composite columns
I'm reading Introduction to 3D Game Programming with DirectX 10 to learn some DirectX,
I was reading GADT introduction here and it I found the idea of restricting
I'm reading a book called Introduction to algorithms . I think many of you
I'm reading Introduction to Algorithm by CLRS. In chapter 2, the authors mention loop
I'm just reading Dependent Types at Work . In the introduction to parametrised types,
I'm reading through Rob Ashton's excellent blog post on RavenDB: http://codeofrob.com/archive/2010/05/09/ravendb-an-introduction.aspx and I'm working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.