snapshot() публичный Метод

Use snapshot mode for the query
public snapshot ( ) : MongoCursor
Результат MongoCursor Returns this cursor
Пример #1
0
 public function snapshot()
 {
     parent::snapshot();
     return $this;
 }
Пример #2
0
 /**
  * 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;
 }
Пример #3
0
 /**
  * 设置使用快照查询(缓存该查询)
  * @return muMongoCursor
  */
 public function snapshot()
 {
     $this->oMongoCursor->snapshot();
     return $this;
 }