mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-19 13:35:43 +02:00

* Create prqlc.md * Rename prqlc.md to prqlc.md * Update pages/common/prqlc.md Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> * Update pages/common/prqlc.md Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * Update pages/common/prqlc.md Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * Apply suggestions from code review Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * Update pages/common/prqlc.md --------- Co-authored-by: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Co-authored-by: Axel Navarro <navarroaxel@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
25 lines
605 B
Markdown
25 lines
605 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}}`
|