Skip to content

Commit

Permalink
Lifting lifetime restrictions for queries in DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Jan 3, 2024
1 parent 451819e commit 8f112c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fluent_api/select_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,13 @@ where
self.db.query_doc(self.params).await
}

pub async fn stream_query(self) -> FirestoreResult<BoxStream<'a, Document>> {
pub async fn stream_query<'b>(self) -> FirestoreResult<BoxStream<'b, Document>> {
self.db.stream_query_doc(self.params).await
}

pub async fn stream_query_with_errors(
pub async fn stream_query_with_errors<'b>(
self,
) -> FirestoreResult<BoxStream<'a, FirestoreResult<Document>>> {
) -> FirestoreResult<BoxStream<'b, FirestoreResult<Document>>> {
self.db.stream_query_doc_with_errors(self.params).await
}
}
Expand Down

0 comments on commit 8f112c8

Please sign in to comment.