Options provided when associating models with belongsTo relationship
Association class belongsTo method
The alias of this model, in singular form. See also the
name option passed to
you create multiple associations between the same tables, you should provide an alias to be able to
distinguish between them. If you provide an alias when creating the association, you should provide the
same alias when eager loading and when getting associated models. Defaults to the singularized name of
Should ON UPDATE, ON DELETE, and REFERENCES constraints be enabled on the foreign key.
false the applicable hooks will not be called.
The default value depends on the context.
The name of the field to use as the key for the association in the target table. Defaults to the primary key of the target table
Generated using TypeDoc