Files
cms-core/Documentation/Changelog/9.0/Deprecation-83118-DeleteClauseMethods.rst
T

37 lines
903 B
ReStructuredText

.. include:: /Includes.rst.txt
.. _deprecation-83118:
=====================================================
Deprecation: #83118 - DeleteClause methods deprecated
=====================================================
See :issue:`83118`
Description
===========
The PHP methods :php:`PageRepository::deleteClause()` and :php:`BackendUtility::deleteClause()` have been
marked as deprecated, as all database queries are now put through Doctrine DBAL's restriction functionality.
Impact
======
Calling one of the two methods above will trigger a deprecation log entry.
Affected Installations
======================
Any TYPO3 extension using any of the two methods above.
Migration
=========
Migrate to Doctrine DBAL and use the new Database API (ConnectionPool, QueryBuilder) to access the database
with the :php:`DeletedRestriction` class.
.. index:: PHP-API, Database, Frontend, FullyScanned