nushell/crates/nu_plugin_query/src
mike 8e38596bc9
allow tables to have annotations (#9613)
# Description

follow up to #8529 and #8914

this works very similarly to record annotations, only difference being
that

```sh
table<name: string>
      ^^^^  ^^^^^^
      |     | 
      |     represents the type of the items in that column
      |
      represents the column name
```
more info on the syntax can be found
[here](https://github.com/nushell/nushell/pull/8914#issue-1672113520)

# User-Facing Changes

**[BREAKING CHANGE]**
this change adds a field to `SyntaxShape::Table` so any plugins that
used it will have to update and include the field. though if you are
unsure of the type the table expects, `SyntaxShape::Table(vec![])` will
suffice
2023-07-07 11:06:09 +02: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.rs Parameter defaults to $nu.scope.commands (#9152) 2023-05-11 13:59:56 -05:00
query_json.rs fix some typos (#7773) 2023-01-16 12:43:46 +01:00
query_web.rs Use variable names directly in the format strings (#7906) 2023-01-29 19:37:54 -06:00
query_xml.rs Reduce again the number of match calls (#7815) 2023-01-24 12:23:42 +01:00
web_tables.rs revert: move to ahash (#9464) 2023-06-18 15:27:57 +12:00