From f6fb1258c7d8a0f90fab49495cd1fcf2a954de10 Mon Sep 17 00:00:00 2001 From: prql-bot <107324867+prql-bot@users.noreply.github.com> Date: Fri, 11 Aug 2023 00:16:24 -0700 Subject: [PATCH] chore: Backport #3312 to `web` (#3313) Co-authored-by: Martin Fischer --- web/book/src/SUMMARY.md | 2 +- web/book/src/reference/stdlib/transforms/README.md | 1 + web/book/src/reference/stdlib/{ => transforms}/loop.md | 0 ...book__reference__stdlib__transforms__loop__examples__0.snap} | 0 4 files changed, 2 insertions(+), 1 deletion(-) rename web/book/src/reference/stdlib/{ => transforms}/loop.md (100%) rename web/book/tests/documentation/snapshots/{documentation__book__reference__stdlib__loop__examples__0.snap => documentation__book__reference__stdlib__transforms__loop__examples__0.snap} (100%) diff --git a/web/book/src/SUMMARY.md b/web/book/src/SUMMARY.md index cc0af76d4b3e..d533bddbc97c 100644 --- a/web/book/src/SUMMARY.md +++ b/web/book/src/SUMMARY.md @@ -37,13 +37,13 @@ - [From](./reference/stdlib/transforms/from.md) - [Group](./reference/stdlib/transforms/group.md) - [Join](./reference/stdlib/transforms/join.md) + - [Loop](./reference/stdlib/transforms/loop.md) - [Select](./reference/stdlib/transforms/select.md) - [Sort](./reference/stdlib/transforms/sort.md) - [Take](./reference/stdlib/transforms/take.md) - [Window](./reference/stdlib/transforms/window.md) - [Aggregation functions]() - - [Loop](./reference/stdlib/loop.md) - [Specification](./reference/spec/README.md) diff --git a/web/book/src/reference/stdlib/transforms/README.md b/web/book/src/reference/stdlib/transforms/README.md index 5dd5824a4300..15f008872e73 100644 --- a/web/book/src/reference/stdlib/transforms/README.md +++ b/web/book/src/reference/stdlib/transforms/README.md @@ -23,3 +23,4 @@ These are the currently available transforms: | `group` | [Partition rows into groups and applies a pipeline to each of them](./group.md) | `GROUP BY`, `PARTITION BY` | | `aggregate` | [Summarize many rows into one row](./aggregate.md) | `SELECT foo(...)` | | `window` | [Apply a pipeline to overlapping segments of rows](./window.md) | `OVER`, `ROWS`, `RANGE` | +| `loop` | [Iteratively apply a function to a relation until its empty](./loop.md) | `WITH RECURSIVE ...` | diff --git a/web/book/src/reference/stdlib/loop.md b/web/book/src/reference/stdlib/transforms/loop.md similarity index 100% rename from web/book/src/reference/stdlib/loop.md rename to web/book/src/reference/stdlib/transforms/loop.md diff --git a/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__loop__examples__0.snap b/web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__loop__examples__0.snap similarity index 100% rename from web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__loop__examples__0.snap rename to web/book/tests/documentation/snapshots/documentation__book__reference__stdlib__transforms__loop__examples__0.snap