Related model class.
Name of the foreign key field in the local model.
Name of the local key field in the related model. Defaults to the primary key name defined in the related model class.
Creates a relation when this model references one instance of another model.
Related model class.
Name of the foreign key field in the local model.
Name of the local key field in the related model. Defaults to the primary key name defined in the related model class.
Creates a relation when this model is referenced by multiple instances of another model.
Related model class.
Name of the foreign key field in the related model.
Name of the local key field in the local model. Defaults to the primary key name defined in the local model class.
Creates a relation when this model is referenced by one instance of another model.
Related model class.
Name of the foreign key field in the related model.
Name of the local key field in the local model. Defaults to the primary key name defined in the local model class.
Set the updatedAt
attribute to the current time.
Generated using TypeDoc
Creates a relation when this model references multiple instances of another model.