Skip to content

Commit 3320f51

Browse files
authored
Clarify immutability to avoid confusion (#1853)
Resolves #1732
1 parent 575f3d9 commit 3320f51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

book/working_with_records.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ $my_record | update age { $in + 1 }
1515
# => ╰──────┴─────╯
1616
```
1717

18+
Note that the `my_record` [variable is immutable](variables.md). The updated record resulting from the [pipeline](pipelines.md) is printed as seen in the code block. The `my_record` variable still holds the original value - `$my_record.age` is still `30`.
19+
1820
:::
1921

2022
## Creating records

0 commit comments

Comments
 (0)