fabbrikk

myNoSQL: MongoDB and Auto Increment

nosql:

Chris Shiflett shares a solution to emulate the MySQL auto_increment with 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…

Via myNoSQL

  1. hryk reblogged this from nosql
  2. fabbrikk reblogged this from nosql
  3. nosql posted this
To Tumblr, Love PixelUnion