Back
nestedProperties()
Allows for nested objects, structs, and arrays to be set from params and other generated data.
// In `models/User.cfc`, allow for `groupEntitlements` to be saved and deleted through the `user` object.
function config(){
hasMany("groupEntitlements");
nestedProperties(association="groupEntitlements", allowDelete=true);
}
Copied!