Trait sea_orm::entity::Linked [−][src]
pub trait Linked {
type FromEntity: EntityTrait;
type ToEntity: EntityTrait;
fn link(&self) -> Vec<LinkDef>ⓘ;
fn find_linked(&self) -> Select<Self::ToEntity> { ... }
}
Expand description
A Trait for links between Entities
Associated Types
type FromEntity: EntityTrait
type ToEntity: EntityTrait
Required methods
Provided methods
fn find_linked(&self) -> Select<Self::ToEntity>
fn find_linked(&self) -> Select<Self::ToEntity>
Find all the Entities that are linked to the Entity