Added missing fields to the api documentation

This commit is contained in:
Ross Lawley
2011-09-11 08:09:16 +01:00
parent 8105bfd8b3
commit 89c44cd14e
2 changed files with 14 additions and 27 deletions

View File

@@ -920,9 +920,11 @@ class GeoPointField(BaseField):
class SequenceField(IntField):
"""Provides a sequental counter.
"""Provides a sequental counter (see http://www.mongodb.org/display/DOCS/Object+IDs#ObjectIDs-SequenceNumbers)
..note:: Although traditional databases often use increasing sequence
.. note::
Although traditional databases often use increasing sequence
numbers for primary keys. In MongoDB, the preferred approach is to
use Object IDs instead. The concept is that in a very large
cluster of machines, it is easier to create an object ID than have