docs
This commit is contained in:
parent
f94ad318b6
commit
b1ef64c81f
@ -132,6 +132,10 @@ they be XGen::Mongo::Driver::ObjectID instances.)
|
|||||||
The database itself inserts an _id value if none is specified when a record is
|
The database itself inserts an _id value if none is specified when a record is
|
||||||
inserted.
|
inserted.
|
||||||
|
|
||||||
|
The driver automatically sends the _id field to the database first, which is
|
||||||
|
how Mongo likes it. You don't have to worry about where the _id field is in
|
||||||
|
your hash record, or worry if you are using an OrderedHash or not.
|
||||||
|
|
||||||
=== Primary Key Factories
|
=== Primary Key Factories
|
||||||
|
|
||||||
A primary key factory is a class you supply to a DB object that knows how to
|
A primary key factory is a class you supply to a DB object that knows how to
|
||||||
|
Loading…
Reference in New Issue
Block a user