From 476fd1a71ebeeb4410f3dd9ea53bce2cbe5cf6da Mon Sep 17 00:00:00 2001 From: pravic Date: Thu, 19 Sep 2024 10:16:29 +0300 Subject: [PATCH] fixup! feat(query): Fetch query response in JSON format. Fix the doctest. --- src/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query.rs b/src/query.rs index f7da9ea..4fc9ad2 100644 --- a/src/query.rs +++ b/src/query.rs @@ -85,7 +85,7 @@ impl Query { Ok(RowCursor(RowBinaryCursor::new(response))) } - /// Executes the query, returning a [`RowJsonCursor`] to obtain results. + /// Executes the query, returning a [`watch::RowJsonCursor`] to obtain results. #[cfg(feature = "watch")] pub fn fetch_json(mut self) -> Result> { self.sql.append(" FORMAT JSONEachRowWithProgress");