Skip to content

Commit 476fd1a

Browse files
committed
fixup! feat(query): Fetch query response in JSON format.
Fix the doctest.
1 parent 7b83d20 commit 476fd1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/query.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl Query {
8585
Ok(RowCursor(RowBinaryCursor::new(response)))
8686
}
8787

88-
/// Executes the query, returning a [`RowJsonCursor`] to obtain results.
88+
/// Executes the query, returning a [`watch::RowJsonCursor`] to obtain results.
8989
#[cfg(feature = "watch")]
9090
pub fn fetch_json<T>(mut self) -> Result<watch::RowJsonCursor<T>> {
9191
self.sql.append(" FORMAT JSONEachRowWithProgress");

0 commit comments

Comments
 (0)