Hi,
Can you tell me what part of this code looks for duplicates? What I would like to do is allow duplicates to be submitted.
my $links_sth = $db->select ( { URL => $input->{URL} }, ['ID'] );
if ($links_sth->rows) {
import_print("Unable to import `$_' (line $. of $$vars{full_path}): URL already existed in the database\n");
next;
}
Thanks in advance
Can you tell me what part of this code looks for duplicates? What I would like to do is allow duplicates to be submitted.
Code:
my $links_sth = $db->select ( { URL => $input->{URL} }, ['ID'] );
if ($links_sth->rows) {
import_print("Unable to import `$_' (line $. of $$vars{full_path}): URL already existed in the database\n");
next;
}
Thanks in advance