2
I have a table in a Mysql database where one of your fields (email) is UNIQUE
, when entering a record I must first perform a select
checking if there is a record whose email field matches the email I want to enter (remembering that the field is UNIQUE) or should I treat the generated exception? I am using PDO.