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 6116131
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:10:16+00:00 2026-05-23T15:10:16+00:00

{ _id : ObjectId(4c2209f9f3924d31102bd84a), name : mongo } what exactly is the purpose of

  • 0
{ "_id" : ObjectId("4c2209f9f3924d31102bd84a"), "name" : "mongo" }

what exactly is the purpose of objectId? It’s a big number that is generated using a timestamp.

If I see any nosql which is key-value, I query with key the value.

Here we use key and value in the as the data and use find () function.

So, I am trying to understand when we really need the objectid?
What are the reasons behind that giving access to the user to view the value of the object ID?

After reading the docs, one basic question is mongo DB as hash table type implementation?

  • 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-05-23T15:10:17+00:00Added an answer on May 23, 2026 at 3:10 pm

    After readying doc..one basic question is mongo DB as hash table type implementation?

    MongoDB used BSON, a binary form of JSON. A JSON object is basically just a “hashtable” or a set of key / value pairs.

    what exactly is the use of object id? that is a big number that is generated with time.

    In MongoDB, each document you store must have an _id. If you do not set a value for _id, then MongoDB will automatically generate one for you. If you have a unique key when you are inserting the object, you can use that instead. For details on the ObjectId see here.

    If I see any nosql which is key-value, I query with key the value.

    MongoDB is not just key-value. MongoDB supports multiple indexes on a single collection, you can query on many different fields, not just the “key” or “id”.

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

Sidebar

Related Questions

Here are the objects: courses { name : Biology, _id : ObjectId(4b0552b0f0da7d1eb6f126a1) } students
Consider the following example of mongo collection: {_id : ObjectId(4f304818884672067f000001), hash : {call_id :
I'm using this structure to store conversations & messages: { _id : ObjectId( 4f2952d7ff4b3c36d700000d
Using mongodb with the NoRM driver I have this document: { _id : ObjectId(0758030341b870c019591900),
Any idea why this query { _id: ObjectId(4e2a4ca7f21a81331f0006c3), categories: { $nin: [ Arts ]
> db.users.findOne(); { _id : ObjectId(4db8ebb4c693ec0363000001), fb : { name : { last :
I have a collection: { _id - ObjectId name - string location - string
I know the _id (ObjectID) of some entry; is there any way to get
I have a countries document which looks like that: { _id : ObjectId(4e493af4140700590800154f), geoname_id
I have a table declaration: TYPE PERSON_TYPE AS OBJECT (ID NUMBER(38), NAME VARCHAR2(20)); TYPE

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.