���ǿ��Խ���һ����ѯ��Ȼ�ݸ� MongoCollection::find() ��������ѯ���ϵ�һ���Ӽ��� ���磺����Ҫ��ѯ "i" �ֶε��� 71 ���ĵ������ǿ���ʹ�ã�
<?php
$connection = new MongoClient();
$collection = $connection->database->collectionName;
$query = array( 'i' => 71 );
$cursor = $collection->find( $query );
while ( $cursor->hasNext() )
{
var_dump( $cursor->getNext() );
}
?>
�������̻������
array(2) { ["_id"]=> object(MongoId)#6 (0) { } ["i"]=> int(71) ["_ns"]=> "testCollection" }