An operation to perform on a foreign key when a delete operation occurs
(mut self, action: ForeignKeyAction)
| 418 | |
| 419 | /// An operation to perform on a foreign key when a delete operation occurs |
| 420 | pub fn on_delete(mut self, action: ForeignKeyAction) -> Self { |
| 421 | self.on_delete = Some(action); |
| 422 | self |
| 423 | } |
| 424 | |
| 425 | /// An operation to perform on a foreign key when an update operation occurs |
| 426 | pub fn on_update(mut self, action: ForeignKeyAction) -> Self { |
no outgoing calls
no test coverage detected