Messages per Month
| From | Sent On | Attachments |
|---|---|---|
| sdotsen | Aug 10, 2009 11:51 am | |
| Eliot Horowitz | Aug 10, 2009 11:56 am | |
| sdotsen | Aug 10, 2009 12:03 pm | |
| Eliot Horowitz | Aug 10, 2009 12:13 pm | |
| Daniel Friesen | Aug 10, 2009 1:55 pm | |
| diegomsana | Aug 10, 2009 2:31 pm | |
| Eliot Horowitz | Aug 10, 2009 5:39 pm | |
| sdotsen | Aug 10, 2009 7:18 pm | |
| Eliot Horowitz | Aug 10, 2009 7:19 pm | |
| sdotsen | Aug 10, 2009 7:29 pm | |
| Eliot Horowitz | Aug 10, 2009 7:31 pm | |
| sdotsen | Aug 10, 2009 7:41 pm | |
| Eliot Horowitz | Aug 10, 2009 7:43 pm | |
| sdotsen | Aug 10, 2009 7:50 pm | |
| sdotsen | Aug 11, 2009 9:59 am | |
| Eliot Horowitz | Aug 11, 2009 10:00 am | |
| sdotsen | Aug 11, 2009 10:06 am | |
| sdotsen | Aug 11, 2009 10:11 am | |
| Kristina Chodorow | Aug 11, 2009 10:22 am | |
| sdotsen | Aug 11, 2009 10:27 am | |
| Kristina Chodorow | Aug 11, 2009 10:33 am | |
| sdotsen | Aug 11, 2009 10:38 am |
| Subject: | Re: Auto increment? | |
|---|---|---|
| From: | Eliot Horowitz ("eli...@gmail.com) | |
| Date: | Aug 10, 2009 11:56:11 am | |
| List: | com.googlegroups.mongodb-user | |
Not really.
We don't support auto_incremement because it doesn't work well in a sharded environment.
If you save an object the db will add a globally unique _id. That's guaranteed to be unique throughout a regular or sharded environment for the collection.
-Eliot
On Mon, Aug 10, 2009 at 2:51 PM, sdotsen<samn...@gmail.com> wrote:
Is there an equivalent of "auto_increment" in mongo? I tried inserting 100 records and all was fine. I went ahead and added another 100 and the same numbers were used.





