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

Function default_query

prqlc/prqlc/src/sql/gen_query.rs:628–641  ·  view source on GitHub ↗
(body: sql_ast::SetExpr)

Source from the content-addressed store, hash-verified

626}
627
628fn default_query(body: sql_ast::SetExpr) -> sql_ast::Query {
629 sql_ast::Query {
630 with: None,
631 body: Box::new(body),
632 order_by: None,
633 limit_clause: None,
634 fetch: None,
635 locks: Vec::new(),
636 for_clause: None,
637 settings: None,
638 format_clause: None,
639 pipe_operators: Vec::new(),
640 }
641}
642
643fn default_select() -> Select {
644 Select {

Callers 6

translate_cteFunction · 0.85
translate_query_sstringFunction · 0.85
translate_query_operatorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected