From 66771afbe72f90f13307dadaa66814585064c173 Mon Sep 17 00:00:00 2001 From: Jan Klass Date: Sun, 30 Mar 2025 11:22:40 +0200 Subject: [PATCH] Clarify immutability to avoid confusion Resolves #1732 --- book/working_with_records.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/book/working_with_records.md b/book/working_with_records.md index 6d53f07c803..bbbdd42e54a 100644 --- a/book/working_with_records.md +++ b/book/working_with_records.md @@ -15,6 +15,8 @@ $my_record | update age { $in + 1 } # => ╰──────┴─────╯ ``` +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`. + ::: ## Creating records