Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
source_rollback.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
11 
13 $connection = Bootstrap::getObjectManager()->get(ResourceConnection::class);
14 $connection->getConnection()->delete($connection->getTableName('inventory_source'), [
15  SourceInterface::SOURCE_CODE . ' IN (?)' => ['source-code-1', 'source-code-1-updated']
16 ]);
$connection