Trait sea_orm::entity::Linked

source ·
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

Required Associated Types

Required Methods

Link for an Entity

Provided Methods

Find all the Entities that are linked to the Entity

Implementors