5514 Posts in 1733 Topics by 1219 members
|Go to End|
15 September 2009 at 3:56am
I extended the CsvBulkLoader and donÂ´t want duplicates in my database.
public $duplicateChecks = array(
'Studioname' => 'name'
The values of the CSV column Studioname should be compared with the connected objects attribute "name". If I import the same CSV file twice all data sets will be doubled. I want existing data sets to be overwritten.
Any help to this issue is appreciated.
15 September 2009 at 7:43pm
Does duplicateChecks work only with a primary key?
|Go to Top|