question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mongo database by default uses primary identifiers named _id.

I am trying to use with Mongo and still not checked all the use cases yet but already have something to implement. Inference elements form values do not expect _id field (only id).

Please take a look at this. Simple test in previous commit.

I will add something else when it will be required in next use case. Give me some feedback.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dylanh724commented, Apr 18, 2021

I’d have to agree with the others regarding _id, since mongodb standard is _id (and most all other apps use _id). When would anyone actually use id instead of _id outside a simple json file? Even then, the average person would still use _id in almost all cases involving json if you’re even considering using a proper db.

Feels strange to, by default, use the opposite of what is standard? It’s not like the docs/tutorial uses SQL. As long as the docs/tutorial focuses on json (which leans to Mongo), this should be changed to _id or it’s wildly unexpected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MongoDB Support Hub
With enterprise-grade support from MongoDB, you get access to a technical support experience that is engaged, authoritative, and comprehensive.
Read more >
Technical Support — MongoDB Manual
For technical support questions, please log into your MongoDB Cloud account and ...
Read more >
Contact Us - MongoDB
Have a general question? ; United States, +1 844-666-4632 ; Europe, the Middle East, and Africa, +44 203 930 0584 ; Australia &...
Read more >
MongoDB Support Policies
Whichever MongoDB product you're using, find the support policy quickly and easily.
Read more >
Technical Support — MongoDB Manual
For technical support questions, please log into your MongoDB Cloud account and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found