Check that no existing record already has this combination of values across all of the given
fields - a single field for a normal unique/primary key, or several for a composite one.
references and checkKeys are parallel arrays: references[i]'s value must equal checkKeys[i].
One field with an index (every primary and unique key has one) is answered from the index; a composite key, or a
field without one, reads every row.
Check that no existing record already has this combination of values across all of the given fields - a single field for a normal unique/primary key, or several for a composite one. references and checkKeys are parallel arrays: references[i]'s value must equal checkKeys[i].
One field with an index (every primary and unique key has one) is answered from the index; a composite key, or a field without one, reads every row.