1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 22:22:07 +02:00
tldr/pages/common/prqlc.md
4G3NT 87ec0727fc
pages*: add backticks to every io stream (#10442)
* pages*: add backticks to every io stream
2023-07-02 18:42:01 +05:30

25 lines
607 B
Markdown

# 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}}`