Update an existing row in DB in new data

But how do i know if i update the correct row each time i’m using setFieldValue?