nushell/crates/nu_plugin_query/src
Ian Manske 7e1b922ea7
Add functions for each Value case (#9736)
# Description
This PR ensures functions exist to extract and create each and every
`Value` case. It also renames `Value::boolean` to `Value::bool` to match
`Value::test_bool`, `Value::as_bool`, and `Value::Bool`. Similarly,
`Value::as_integer` was renamed to `Value::as_int` to be consistent with
`Value::int`, `Value::test_int`, and `Value::Int`. These two renames can
be undone if necessary.

# User-Facing Changes
No user facing changes, but two public functions were renamed which may
affect downstream dependents.
2023-07-21 08:20:33 -05:00
..
nu allow tables to have annotations (#9613) 2023-07-07 11:06:09 +02:00
lib.rs query command with json, web, xml (#870) 2022-02-01 12:45:48 -06:00
main.rs Bump to 0.60 (#4892) 2022-03-23 07:32:03 +13:00
query_json.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
query_web.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
query_xml.rs Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
query.rs Parameter defaults to $nu.scope.commands (#9152) 2023-05-11 13:59:56 -05:00
web_tables.rs revert: move to ahash (#9464) 2023-06-18 15:27:57 +12:00