update = new Update( $databaseName, $collectionName, $filter, $replacement, ['multi' => false] + $options ); } /** * Execute the operation. * * @see Executable::execute() * @param Server $server * @return UpdateResult * @throws UnsupportedException if collation is used and unsupported * @throws DriverRuntimeException for other driver errors (e.g. connection errors) */ public function execute(Server $server) { return $this->update->execute($server); } }