Skip to content

Commit

Permalink
chore: Backport #3820 to web (#3824)
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com>
  • Loading branch information
prql-bot and max-sixty authored Nov 19, 2023
1 parent 6ad2ffc commit afcb4c2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions web/book/src/reference/stdlib/transforms/select.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,12 @@ from artists
derive nick = name
select !{artists.*}
```

Note that `!` is also the `NOT` operator, so without the tuple it has a
different meaning:

```prql
prql target:sql.bigquery
from tracks
select !is_compilation
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
source: web/book/tests/documentation/book.rs
expression: "prql target:sql.bigquery\nfrom tracks\nselect !is_compilation\n"
---
SELECT
NOT is_compilation
FROM
tracks

0 comments on commit afcb4c2

Please sign in to comment.