MCPcopy Create free account
hub / github.com/PRQL/prql / compile

Function compile

web/book/tests/documentation/main.rs:11–18  ·  view source on GitHub ↗
(prql: &str)

Source from the content-addressed store, hash-verified

9use ::prqlc::Options;
10
11fn compile(prql: &str) -> Result<String, prqlc::ErrorMessages> {
12 prqlc::compile(
13 prql,
14 &Options::default()
15 .no_signature()
16 .with_display(prqlc::DisplayOptions::Plain),
17 )
18}

Callers 5

test_website_examplesFunction · 0.70
test_readme_examplesFunction · 0.70
replace_examplesFunction · 0.50

Calls 2

with_displayMethod · 0.80
no_signatureMethod · 0.80

Tested by

no test coverage detected