diff --git a/src/entity/loader.rs b/src/entity/loader.rs index f2b1bdd2..0e0f6977 100644 --- a/src/entity/loader.rs +++ b/src/entity/loader.rs @@ -12,9 +12,7 @@ pub trait LoaderTrait { /// Source model type Model: ModelTrait; - /// /// Used to eager load has_one relations - /// async fn load_one(&self, stmt: Select, db: &C) -> Result>, DbErr> where C: ConnectionTrait, @@ -22,9 +20,7 @@ pub trait LoaderTrait { R::Model: Send + Sync, <::Model as ModelTrait>::Entity: Related; - /// /// Used to eager load has_many relations - /// async fn load_many(&self, stmt: Select, db: &C) -> Result>, DbErr> where C: ConnectionTrait,