Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

30
tldr/prqlc Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# prqlc
> PRQL compiler.
> PRQL is a modern language for transforming data - a simple, powerful, pipelined SQL replacement.
> More information: <https://prql-lang.org>.
- Run the compiler interactively:
`prqlc compile`
- Compile a specific `.prql` file to `stdout`:
`prqlc compile {{path/to/file.prql}}`
- Compile a `.prql` file to a `.sql` file:
`prqlc compile {{path/to/source.prql}} {{path/to/target.sql}}`
- Compile a query:
`echo "{{from employees | filter has_dog | select salary}}" | prqlc compile`
- Watch a directory and compile on file modification:
`prqlc watch {{path/to/directory}}`