Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
getBatchIds (\Magento\Framework\DB\Adapter\AdapterInterface $connection, \Magento\Framework\DB\Select $select, array $batch) | |
![]() | |
getBatches (AdapterInterface $adapter, $tableName, $linkField, $batchSize) | |
getBatchIds (AdapterInterface $connection, Select $select, array $batch) | |
Generator of consecutive entity ID ranges that must be handled as a batch.
Some ranges may contain non existent entity IDs. So the code that uses the generator must check if any entities were loaded during batch load.
Definition at line 16 of file BatchProvider.php.
getBatchIds | ( | \Magento\Framework\DB\Adapter\AdapterInterface | $connection, |
\Magento\Framework\DB\Select | $select, | ||
array | $batch | ||
) |
Definition at line 49 of file BatchProvider.php.