alexbilbie/MongoQB — pull request #2 by Jasrags (2012-12-03 21:19:00+00:00)
Title: added getOne (MongoCollection->findOne) support

Often in my code i need to get just a single record from mongo, this can be accomplished via ->get() but then you have to either access the item via the array[0] or array_pop it off. I think this is a good idea to clone the ->findOne functionality from MongoCollection into getOne.