I need to check if a data already exists in the DB before registering it in python, where bd has the table VideoCapture and its attributes are id, name, value .... need to verify the name before registering in bd in python ...
I need to check if a data already exists in the DB before registering it in python, where bd has the table VideoCapture and its attributes are id, name, value .... need to verify the name before registering in bd in python ...
Just do a SELECT with the data you need to check if it exists in this table. If SELECT does not return data it is because the record does not exist otherwise the record exists.