myNoSQL: MongoDB and Auto Increment
Via myNoSQL
Chris Shiflett shares a solution to emulate the MySQL
…auto_incrementwith MongoDB. While you should read his post, the proposed solution is:Kenny Gorman warns that the above solution is not exactly optimal:
…I remember Twitter has tried to solve a similar problem — probably at a…