mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 23:58:06 +02:00
upgrading dependencies (#4135)
* upgrade dependencies num-bigint 0.3.1 -> 0.4.3 bigdecimal-rs 0.2.1 -> bigdecimal 0.3.0 s3hander 0.7 -> 0.7.5 bat 0.18 -> 0.18, default-features = false * upgrade arboard 1.1.0 -> 2.0.1 * in polars use comfy-table instead of prettytable-rs the last release of prettytable-rs was `0.8.0 Sep 27, 2018` and it uses `term 0.5` as a dependency * upgrade dependencies * upgrade trash -> 2.0.1 Co-authored-by: ahkrr <alexhk@protonmail.com>
This commit is contained in:
@ -61,7 +61,7 @@ pub fn convert_sqlite_file_to_nu_value(
|
||||
|
||||
fn convert_sqlite_row_to_nu_value(row: &Row, tag: impl Into<Tag> + Clone) -> Value {
|
||||
let mut collected = TaggedDictBuilder::new(tag.clone());
|
||||
for (i, c) in row.column_names().iter().enumerate() {
|
||||
for (i, c) in row.as_ref().column_names().iter().enumerate() {
|
||||
collected.insert_value(
|
||||
c.to_string(),
|
||||
convert_sqlite_value_to_nu_value(row.get_ref_unwrap(i), tag.clone()),
|
||||
|
Reference in New Issue
Block a user