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

Method doc_as_of

src/sql-pretty/src/doc.rs:692–698  ·  view source on GitHub ↗
(&'a self, v: &'a AsOf<T>)

Source from the content-addressed store, hash-verified

690 }
691
692 fn doc_as_of<'a, T: AstInfo>(&'a self, v: &'a AsOf<T>) -> RcDoc<'a> {
693 let (title, expr) = match v {
694 AsOf::At(expr) => ("AS OF", expr),
695 AsOf::AtLeast(expr) => ("AS OF AT LEAST", expr),
696 };
697 nest_title(title, self.doc_expr(expr))
698 }
699
700 pub(crate) fn doc_create_view<'a, T: AstInfo>(
701 &'a self,

Callers 2

doc_subscribeMethod · 0.80
doc_select_statementMethod · 0.80

Calls 2

nest_titleFunction · 0.85
doc_exprMethod · 0.80

Tested by

no test coverage detected