Deprecation: #92080 - QueryGenerator and QueryView

See forge#92080 See forge#92129

Description

The classes TYPO3\CMS\Core\Database\QueryGenerator and TYPO3\CMS\Core\Database\QueryView have been marked as deprecated.

Impact

Using the classes will trigger a PHP E_USER_DEPRECATED error.

Affected Installations

Both classes have been used within the backend only, the method getTreelist() has been used occasionally by backend extensions to recursively fetch children of pages. Even if they are quite inflexible, some extensions may rely on them. The extension scanner will find class usages with a strong match.

Migration

As most simple solutions, the getTreeList method could be copied over to an own extension.