snapshot() public method

Use snapshot mode for the query
public snapshot ( ) : MongoCursor
return MongoCursor Returns this cursor
コード例 #1
0
ファイル: Cursor.php プロジェクト: lisong/incubator
 public function snapshot()
 {
     parent::snapshot();
     return $this;
 }
コード例 #2
0
ファイル: Cursor.php プロジェクト: ne0h12/mongodb
 /**
  * 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
ファイル: class.Mumongo.php プロジェクト: diandengs/RechoPHP
 /**
  * 设置使用快照查询(缓存该查询)
  * @return muMongoCursor
  */
 public function snapshot()
 {
     $this->oMongoCursor->snapshot();
     return $this;
 }