MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / query

Method query

src/sql-parser/src/ast/defs/query.rs:90–98  ·  view source on GitHub ↗
(query: Query<T>)

Source from the content-addressed store, hash-verified

88 }
89
90 pub fn query(query: Query<T>) -> Query<T> {
91 Query {
92 ctes: CteBlock::empty(),
93 body: SetExpr::Query(Box::new(query)),
94 order_by: vec![],
95 limit: None,
96 offset: None,
97 }
98 }
99
100 pub fn take(&mut self) -> Query<T> {
101 mem::replace(

Callers

nothing calls this directly

Calls 1

QueryClass · 0.70

Tested by

no test coverage detected