@@ -33,7 +33,7 @@ pub trait Executor<'c>: Send + Debug + Sized {
3333 where
3434 ' c : ' e ,
3535 ' q : ' e ,
36- E : Execute < ' q , Self :: Database > ,
36+ E : Execute < ' q , Self :: Database > + ' e ,
3737 {
3838 self . execute_many ( query) . try_collect ( ) . boxed ( )
3939 }
@@ -46,7 +46,7 @@ pub trait Executor<'c>: Send + Debug + Sized {
4646 where
4747 ' c : ' e ,
4848 ' q : ' e ,
49- E : Execute < ' q , Self :: Database > ,
49+ E : Execute < ' q , Self :: Database > + ' e ,
5050 {
5151 self . fetch_many ( query)
5252 . try_filter_map ( |step| async move {
@@ -66,7 +66,7 @@ pub trait Executor<'c>: Send + Debug + Sized {
6666 where
6767 ' c : ' e ,
6868 ' q : ' e ,
69- E : Execute < ' q , Self :: Database > ,
69+ E : Execute < ' q , Self :: Database > + ' e ,
7070 {
7171 self . fetch_many ( query)
7272 . try_filter_map ( |step| async move {
@@ -93,7 +93,7 @@ pub trait Executor<'c>: Send + Debug + Sized {
9393 where
9494 ' c : ' e ,
9595 ' q : ' e ,
96- E : Execute < ' q , Self :: Database > ;
96+ E : Execute < ' q , Self :: Database > + ' e ;
9797
9898 /// Execute the query and return all the generated results, collected into a [`Vec`].
9999 fn fetch_all < ' e , ' q , E > (
@@ -103,7 +103,7 @@ pub trait Executor<'c>: Send + Debug + Sized {
103103 where
104104 ' c : ' e ,
105105 ' q : ' e ,
106- E : Execute < ' q , Self :: Database > ,
106+ E : Execute < ' q , Self :: Database > + ' e ,
107107 {
108108 self . fetch ( query) . try_collect ( ) . boxed ( )
109109 }
@@ -116,7 +116,7 @@ pub trait Executor<'c>: Send + Debug + Sized {
116116 where
117117 ' c : ' e ,
118118 ' q : ' e ,
119- E : Execute < ' q , Self :: Database > ,
119+ E : Execute < ' q , Self :: Database > + ' e ,
120120 {
121121 self . fetch_optional ( query)
122122 . and_then ( |row| match row {
@@ -134,7 +134,7 @@ pub trait Executor<'c>: Send + Debug + Sized {
134134 where
135135 ' c : ' e ,
136136 ' q : ' e ,
137- E : Execute < ' q , Self :: Database > ;
137+ E : Execute < ' q , Self :: Database > + ' e ;
138138
139139 /// Prepare the SQL query to inspect the type information of its parameters
140140 /// and results.
0 commit comments