MongoDB: Auto-incrementing primary ID

1142715 pts.
Tags:
Database
MongoDB
In MySQL - I was able to add an incrementing ID. But I still can't figure out how to do it in my other database (I'm using MongoDB). What's the process to do that?
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

Thanks for coming to ITKE. I did a web search of your question and found many sites that have information that would assist you. Here is a link to one of them: https://docs.mongodb.com/v3.0/tutorial/create-an-auto-incrementing-field/ Please come back if you need more assistance.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: