This commit is contained in:
jackfoxy 2023-06-18 14:26:39 -07:00
parent b10910dc70
commit 53a32616a7

View File

@ -9,6 +9,7 @@ The `<transform>` statements provides a means of chaining commands on `<table-se
<cmd>
[ INTO <table>
| <transform-op> [ ( ] <cmd> [ ) ]
| <tee-op> <set-op> [ ( ] <cmd> [ ) ]
] [ ...n ]
[ AS OF { NOW
| <timestamp>
@ -76,6 +77,11 @@ NOTE: rule for dividing union `<row-type>`s TBD.
| TEE
| MULTEE
```
```
<tee-op> ::=
TEE
| MULTEE
```
`<pass-thru-op>`s make the left resulting `<table-set>` available for consumption by the next `<cmd>` in the `<transform>`. The right side of the statement cannot be nested. The left `<table-set>` can be consumed by `*`, in which case column identifiers and `<row-type>` column alignments from the left `<cmd>` apply, or a list of column aliases, in which case all columns produced by the left `<cmd>` must be included in the order produced. (See the definition of `<table-set>` in the Introduction.) In other words the `<row-type>` of the left `<table-set>` applies when consumed by the right `<cmd>`.