@@ -412,15 +412,15 @@ where
412
412
}
413
413
414
414
/// 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 >
416
416
where
417
417
C : ConnectionTrait ,
418
418
{
419
419
self . into_model ( ) . one ( db) . await
420
420
}
421
421
422
422
/// 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 >
424
424
where
425
425
C : ConnectionTrait ,
426
426
{
@@ -490,15 +490,15 @@ where
490
490
}
491
491
492
492
/// 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 >
494
494
where
495
495
C : ConnectionTrait ,
496
496
{
497
497
self . into_model ( ) . one ( db) . await
498
498
}
499
499
500
500
/// 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 >
502
502
where
503
503
C : ConnectionTrait ,
504
504
{
@@ -600,7 +600,7 @@ where
600
600
/// > then use [`ModelTrait::find_related`] on the model.
601
601
/// >
602
602
/// > 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 >
604
604
where
605
605
C : ConnectionTrait ,
606
606
{
@@ -667,7 +667,7 @@ where
667
667
}
668
668
669
669
/// 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 >
671
671
where
672
672
C : ConnectionTrait ,
673
673
{
@@ -676,7 +676,7 @@ where
676
676
}
677
677
678
678
/// 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 >
680
680
where
681
681
C : ConnectionTrait ,
682
682
{
@@ -911,7 +911,7 @@ where
911
911
/// # Ok(())
912
912
/// # }
913
913
/// ```
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 >
915
915
where
916
916
C : ConnectionTrait ,
917
917
{
@@ -962,7 +962,7 @@ where
962
962
/// # Ok(())
963
963
/// # }
964
964
/// ```
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 >
966
966
where
967
967
C : ConnectionTrait ,
968
968
{
0 commit comments