Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
bulk_rollback.php
Go to the documentation of this file.
1 <?php
7 
11 $resource = Bootstrap::getObjectManager()->get(\Magento\Framework\App\ResourceConnection::class);
12 $connection = $resource->getConnection();
13 $bulkTable = $resource->getTableName('magento_bulk');
14 
15 $connection->query("DELETE FROM {$bulkTable};");
$bulkTable
$connection
$resource