loopback model columns code example Example: loopback unique field Model.validatesUniquenessOf('attr');