Soft Village BD/Smart Shop
Publish Date: 14 April, 2020 04:19 PM
File Size : 15.23 KB
File :
File :
Sometimes, you may wish to ignore a given ID during the unique check. For example, consider an "update profile" screen that includes the user's name, e-mail address, and location. You will probably want to verify that the e-mail address is unique. However, if the user only changes the name field and not the e-mail field, you do not want a validation error to be thrown because the user is already the owner of the e-mail address.