setUnacknowledgedWriteConcern() public method

Define unacknowledged write concern for all requests to current collection
public setUnacknowledgedWriteConcern ( integer $timeout = 10000 ) : Collection
$timeout integer timeout in milliseconds
return Collection
示例#1
0
 public function testSetUnacknowledgedWriteConcern()
 {
     $this->collection->setUnacknowledgedWriteConcern(11000);
     $this->assertEquals(array('w' => 0, 'wtimeout' => 11000), $this->collection->getWriteConcern());
 }