snapshot() public méthode

Use snapshot mode for the query
public snapshot ( ) : MongoCursor
Résultat MongoCursor Returns this cursor
Exemple #1
0
 public function snapshot()
 {
     parent::snapshot();
     return $this;
 }
Exemple #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;
 }
Exemple #3
0
 /**
  * 设置使用快照查询(缓存该查询)
  * @return muMongoCursor
  */
 public function snapshot()
 {
     $this->oMongoCursor->snapshot();
     return $this;
 }