using the mongo _id, .
:
IN MYSQL - SELECT * from things where id=3;
PHP MongoDB, :
$m = new MongoClient();
$db = $m->selectDB('stuff');
$collection = new MongoCollection($db, 'things');
$collection->find(array('_id', new MongoID('3'));
"_id", Mongo BSON, . - "512ba941e0b975fe00000000".
$collection->find(array('_id' => '512ba941e0b975fe00000000'));, , . new MongoID(), _id.