public function snapshot() { parent::snapshot(); return $this; }
/** * Wrapper method for MongoCursor::snapshot(). * * @see http://php.net/manual/en/mongocursor.snapshot.php * @return self */ public function snapshot() { $this->snapshot = true; $this->mongoCursor->snapshot(); return $this; }
/** * 设置使用快照查询(缓存该查询) * @return muMongoCursor */ public function snapshot() { $this->oMongoCursor->snapshot(); return $this; }