Build a relationship to an Entity
(mut self, identifier: T)
| 409 | |
| 410 | /// Build a relationship to an Entity |
| 411 | pub fn to<T>(mut self, identifier: T) -> Self |
| 412 | where |
| 413 | T: IdentityOf<R>, |
| 414 | { |
| 415 | self.to_col = Some(identifier.identity_of()); |
| 416 | self |
| 417 | } |
| 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 { |
nothing calls this directly
no test coverage detected