nushell/crates/nu-command/src/dataframe
Reilly Wood e445c41454
Fix to json for SQLite databases (#8343)
Fixes #8341. 

The `CustomValue::to_json()` function is an odd duck; it defaults to
returning `null`, and no `CustomValue` implementations override it to do
anything useful. I forgot to implement `to_json()` for `SQLiteDatabase`,
so `open foo.db | to json` was returning `null`.

To fix this, I've removed `CustomValue::to_json()` and now `to json`
will collect a `CustomValue` into a regular `Value` before doing a JSON
conversion.
2023-03-06 14:36:26 -08:00
..
eager Document and critically review ShellError variants - Ep. 3 (#8340) 2023-03-06 18:33:09 +01:00
expressions Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
lazy Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00
series Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
values Fix to json for SQLite databases (#8343) 2023-03-06 14:36:26 -08:00
mod.rs Lazy dataframes (#5546) 2022-05-16 08:27:43 +01:00
README.md Update the Readme for the dataframe directory (#4757) 2022-03-06 11:05:55 -08:00
test_dataframe.rs Cratification: Break out nu_cmd_lang into a separate crate (#8181) 2023-02-24 09:54:42 -06:00
utils.rs Document and critically review ShellError variants - Ep. 2 (#8326) 2023-03-06 11:31:07 +01:00

Dataframe

This dataframe directory holds all of the definitions of the dataframe data structures and commands.

There are three sections of commands:

For more details see the Nushell book section on dataframes