Parameters

PRQL will retain parameters like $1 in SQL output, which can then be supplied to the SQL query as a prepared query:

PRQL

  1. from employees
  2. filter id == $1

SQL

  1. SELECT
  2. *
  3. FROM
  4. employees
  5. WHERE
  6. id = $1