We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa9fcc8 commit 40e9c8bCopy full SHA for 40e9c8b
1 file changed
src/lib.rs
@@ -805,18 +805,14 @@ impl RowsIterator {
805
806
#[napi]
807
pub async fn next(&self) -> Result<Record> {
808
- let column_names = self.column_names.clone();
809
- let safe_ints = self.safe_ints;
810
- let raw = self.raw;
811
- let pluck = self.pluck;
812
let mut rows = self.rows.lock().await;
813
let row = rows.next().await.map_err(Error::from)?;
814
Ok(Record {
815
row,
816
- column_names,
817
- safe_ints,
818
- raw,
819
- pluck,
+ column_names: self.column_names.clone(),
+ safe_ints: self.safe_ints,
+ raw: self.raw,
+ pluck: self.pluck,
820
})
821
}
822
0 commit comments