选择语言 :

 Driver_Database_Driver_Mongo_Result::snapshot

使查询结果集不动态变化

$this Driver_Database_Driver_Mongo_Result::snapshot( )
返回值
  • $this
File: ./drivers/database/mongo/result.class.php
public function snapshot()
{
    if (!($this->_result instanceof ArrayIterator))
    {
        $this->_result->snapshot();
    }

    return $this;
}