use TYPO3\CMS\Backend\Utility\BackendUtility; $record = BackendUtility::getRecord('table_name', $uid);
use TYPO3\CMS\Backend\Utility\BackendUtility; $record = BackendUtility::getRecord('table_name', 'field_name', 'field_value');In this example, we are using the `getRecord` method of the BackendUtility class to retrieve a record from the `table_name` table based on the field name and value passed as parameters. The `BackendUtility` class is part of the `typo3/cms-backend` package library, which is an official package of TYPO3 CMS. This package contains various utilities and classes used in the backend section of TYPO3 CMS.