This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. unique:contracts,name,' . $id . ' for checking unique value in db where contracts is tbl name and name is field name. | |
if we want to update same then we have to put id as shown for except that particular entry. |