From b1ef64c81fc050974ef1b2f4da26cfb14e19719d Mon Sep 17 00:00:00 2001 From: Jim Menard Date: Sun, 1 Feb 2009 10:25:50 -0500 Subject: [PATCH] docs --- README.rdoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rdoc b/README.rdoc index 0f34bec..1347b07 100644 --- a/README.rdoc +++ b/README.rdoc @@ -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 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 A primary key factory is a class you supply to a DB object that knows how to