You are here

public function Connection::update in MongoDB 8

File

drivers/lib/Drupal/Driver/Database/mongodb/Connection.php, line 65

Class

Connection

Namespace

Drupal\Driver\Database\mongodb

Code

public function update($table, array $options = array()) {
  $return = FALSE;
  if (drupal_valid_test_ua()) {
    $return = $this
      ->getTestHelper()
      ->update($table, $options);
  }
  return $return ?: new FakeUpdate($this->databaseContents, $table);
}