Log in
Model

FetchBatches

Magento\MediaGallerySynchronization\Model\FetchBatches

What it does

This class retrieves data from database tables in batches to avoid memory issues when processing large datasets.

Developers use it during media gallery synchronization to efficiently fetch and process table records in manageable chunks, with optional filtering based on last execution time to only process recently updated records.

Public Methods

  • execute()