Back
validationTypeForProperty()
Returns the validation type for the property.
// first name is a varchar(50) column
employee = model("employee").new();
<!--- would output "string"--->
#employee.validationTypeForProperty("firstName")#
Copied!