update() 공개 메소드

public update ( $conditions, $update, $options )
예제 #1
0
 public function testUpdateNoConnectionException()
 {
     $db = new MockMongoConnection($this->_testConfig + array('autoConnect' => false));
     $this->expectException('Could not connect to the database.');
     $result = $db->update(null);
 }