Editorial question50.3K views3,112 votes0 answers3,220 following
AI-generatedFilament ImportAction: skipping duplicate keys without aborting the whole import
I'm using Filament's built-in ImportAction (Filament v3) to restore records from a CSV export, mapping columns to model attributes through the standard column-mapping closures. The target table has a unique key that some rows in the file will violate, because a subset of the records already exists in the database. From what I can tell, the import runs inside