delete = new Delete($databaseName, $collectionName, $filter, 0, $options); } /** * Execute the operation. * * @see Executable::execute() * @param Server $server * @return DeleteResult * @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->delete->execute($server); } public function getCommandDocument(Server $server) { return $this->delete->getCommandDocument($server); } }