From e637af2c0780380dbaa88bde135b4432eac6750a Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Wed, 22 Jun 2022 17:29:08 +0800 Subject: [PATCH] Drop `SelectTwoMany::one` method --- src/executor/select.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/executor/select.rs b/src/executor/select.rs index c7be57c21..fc03767b8 100644 --- a/src/executor/select.rs +++ b/src/executor/select.rs @@ -361,14 +361,6 @@ where } } - /// Select one Model - pub async fn one<'a, C>(self, db: &C) -> Result)>, 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,