@@ -412,15 +412,15 @@ where
412412 }
413413
414414 /// Get one Model from the SELECT query
415- pub async fn one < ' a , C > ( self , db : & C ) -> Result < Option < E :: Model > , DbErr >
415+ pub async fn one < C > ( self , db : & C ) -> Result < Option < E :: Model > , DbErr >
416416 where
417417 C : ConnectionTrait ,
418418 {
419419 self . into_model ( ) . one ( db) . await
420420 }
421421
422422 /// Get all Models from the SELECT query
423- pub async fn all < ' a , C > ( self , db : & C ) -> Result < Vec < E :: Model > , DbErr >
423+ pub async fn all < C > ( self , db : & C ) -> Result < Vec < E :: Model > , DbErr >
424424 where
425425 C : ConnectionTrait ,
426426 {
@@ -490,15 +490,15 @@ where
490490 }
491491
492492 /// Get one Model from the Select query
493- pub async fn one < ' a , C > ( self , db : & C ) -> Result < Option < ( E :: Model , Option < F :: Model > ) > , DbErr >
493+ pub async fn one < C > ( self , db : & C ) -> Result < Option < ( E :: Model , Option < F :: Model > ) > , DbErr >
494494 where
495495 C : ConnectionTrait ,
496496 {
497497 self . into_model ( ) . one ( db) . await
498498 }
499499
500500 /// Get all Models from the Select query
501- pub async fn all < ' a , C > ( self , db : & C ) -> Result < Vec < ( E :: Model , Option < F :: Model > ) > , DbErr >
501+ pub async fn all < C > ( self , db : & C ) -> Result < Vec < ( E :: Model , Option < F :: Model > ) > , DbErr >
502502 where
503503 C : ConnectionTrait ,
504504 {
@@ -600,7 +600,7 @@ where
600600 /// > then use [`ModelTrait::find_related`] on the model.
601601 /// >
602602 /// > See https://www.sea-ql.org/SeaORM/docs/basic-crud/select#lazy-loading for details.
603- pub async fn all < ' a , C > ( self , db : & C ) -> Result < Vec < ( E :: Model , Vec < F :: Model > ) > , DbErr >
603+ pub async fn all < C > ( self , db : & C ) -> Result < Vec < ( E :: Model , Vec < F :: Model > ) > , DbErr >
604604 where
605605 C : ConnectionTrait ,
606606 {
@@ -667,7 +667,7 @@ where
667667 }
668668
669669 /// Get an item from the Select query
670- pub async fn one < ' a , C > ( mut self , db : & C ) -> Result < Option < S :: Item > , DbErr >
670+ pub async fn one < C > ( mut self , db : & C ) -> Result < Option < S :: Item > , DbErr >
671671 where
672672 C : ConnectionTrait ,
673673 {
@@ -676,7 +676,7 @@ where
676676 }
677677
678678 /// Get all items from the Select query
679- pub async fn all < ' a , C > ( self , db : & C ) -> Result < Vec < S :: Item > , DbErr >
679+ pub async fn all < C > ( self , db : & C ) -> Result < Vec < S :: Item > , DbErr >
680680 where
681681 C : ConnectionTrait ,
682682 {
@@ -911,7 +911,7 @@ where
911911 /// # Ok(())
912912 /// # }
913913 /// ```
914- pub async fn one < ' a , C > ( self , db : & C ) -> Result < Option < S :: Item > , DbErr >
914+ pub async fn one < C > ( self , db : & C ) -> Result < Option < S :: Item > , DbErr >
915915 where
916916 C : ConnectionTrait ,
917917 {
@@ -962,7 +962,7 @@ where
962962 /// # Ok(())
963963 /// # }
964964 /// ```
965- pub async fn all < ' a , C > ( self , db : & C ) -> Result < Vec < S :: Item > , DbErr >
965+ pub async fn all < C > ( self , db : & C ) -> Result < Vec < S :: Item > , DbErr >
966966 where
967967 C : ConnectionTrait ,
968968 {
0 commit comments