Deprecation: #78224 - TYPO3_DB occurrences¶
See Issue #78224
The TYPO3_DB shorthand functionality has been removed for most of the TYPO3 Core PHP classes, excepted for the following locations:
- AbstractPlugin->databaseConnection (protected property)
For these occurrences extensions might extend the base functionality (e.g. for plugins or modules) and the call to the property and protected methods still work.
$GLOBALS[TYPO3_DB] is still possible but discouraged.
Calling any of the methods above will trigger a deprecation log entry.
Any TYPO3 instances with references to TYPO3_DB or references to the occurrences mentioned above.
Use the ConnectionPool and the QueryBuilder classes to achieve future-proof and proper database abstraction for future TYPO3 versions.