Sparclex / nova-import-card

A customizable resource import card for laravel nova
MIT License
31 stars 34 forks source link

How do I set it so that it allows editing of fields already inputted depending on certain key? #29

Open xmarkclx opened 5 years ago

xmarkclx commented 5 years ago

Say I have imported something with fields unique_id and value.

How do I make it so that when I import the same unique_id again, the model will be updated in the database instead of giving a duplicate unique key error (because it tries to create a new one)?