PRQL queries
/ Sql, / PrqlPRQL queries #
POST /_prql accepts
PRQL pipeline text in the
same request shape as POST /_sql — query, plus cursor, params,
snapshot_id and timeout riding alongside exactly as they do for SQL.
The statement is compiled by a pinned prqlc and executed as its
equivalent SQL through the identical pipeline, so cursors, snapshots,
timeouts and the response envelope behave the same
(see
SQL & PRQL).
A cursor walk resubmits the SAME PRQL text plus the cursor object; the compiled statement is cached by text, so the walk compiles once.
...