LinuxCommandLibrary

prqlc

PRQL compiler.

TLDR

Run the compiler interactively

$ prqlc compile
copy


Compile a specific .prql file to stdout
$ prqlc compile [path/to/file.prql]
copy


Compile a .prql file to a .sql file
$ prqlc compile [path/to/source.prql] [path/to/target.sql]
copy


Compile a query
$ echo "[from employees | filter has_dog | select salary]" | prqlc compile
copy


Watch a directory and compile on file modification
$ prqlc watch [path/to/directory]
copy

Copied to clipboard