Skip to content

Commit

Permalink
Drop SelectTwoMany::one method
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Jun 22, 2022
1 parent 8faabf4 commit e637af2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/executor/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,6 @@ where
}
}

/// Select one Model
pub async fn one<'a, C>(self, db: &C) -> Result<Option<(E::Model, Option<F::Model>)>, DbErr>
where
C: ConnectionTrait,
{
self.into_model().one(db).await
}

/// Stream the result of the operation
pub async fn stream<'a: 'b, 'b, C>(
self,
Expand Down

0 comments on commit e637af2

Please sign in to comment.