Check out example codes for "validate filed for existing client adonis". It will help you in understanding the concepts better.

Code Example 1

unique:users,username,id,1 // table, field, idcolumn, value to ignore

Learn ReactJs, React Native from akashmittal.com