getWriteConcern() 공개 메소드

Get currently active write concern on all requests to collection
public getWriteConcern ( ) : integer | string
리턴 integer | string write concern
예제 #1
0
 public function testSetMajorityWriteConcern()
 {
     $this->collection->setMajorityWriteConcern(13000);
     $this->assertEquals(array('w' => 'majority', 'wtimeout' => 13000), $this->collection->getWriteConcern());
 }