We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f71ff1 commit e97df07Copy full SHA for e97df07
src/driver/cursor.rs
@@ -58,7 +58,10 @@ impl Cursor {
58
.await?;
59
60
if result.is_empty() {
61
- return Err(PyStopAsyncIteration::new_err("Error").into());
+ return Err(PyStopAsyncIteration::new_err(
62
+ "Iteration is over, no more results in cursor",
63
+ )
64
+ .into());
65
};
66
67
Ok(PSQLDriverPyQueryResult::new(result))
src/value_converter.rs
@@ -483,7 +483,7 @@ pub fn postgres_to_py(
483
}
484
485
486
-/// Convert python List of Dict type in serde `Value`.
+/// Convert python List of Dict type or just Dict in serde `Value`.
487
///
488
/// # Errors
489
/// May return error if cannot convert Python type into Rust one.
0 commit comments