Log in
Model

InsertIgnore

Magento\AdobeStockAsset\Model\ResourceModel\Command\InsertIgnore

What it does

This class provides a database command to perform INSERT IGNORE operations in Magento 2, which attempts to insert data into a table but silently skips the insertion if a duplicate key violation occurs.

Developers use this when importing Adobe Stock assets or other data where duplicates should be ignored rather than causing errors or requiring pre-checking for existence.

Public Methods

  • execute()