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 1968914 commit 91260fcCopy full SHA for 91260fc
src/statement.rs
@@ -327,7 +327,6 @@ fn convert_row(
327
.get_value(idx)
328
.or_else(|err| throw_libsql_error(cx, err))?;
329
let column_name = rows.column_name(idx).unwrap();
330
- let key = cx.string(column_name);
331
let v: Handle<'_, JsValue> = match v {
332
libsql::Value::Null => cx.null().upcast(),
333
libsql::Value::Integer(v) => {
@@ -341,7 +340,7 @@ fn convert_row(
341
340
libsql::Value::Text(v) => cx.string(v).upcast(),
342
libsql::Value::Blob(v) => JsArrayBuffer::from_slice(cx, &v)?.upcast(),
343
};
344
- result.set(cx, key, v)?;
+ result.set(cx, column_name, v)?;
345
}
346
Ok(())
347
0 commit comments