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

Method seq

src/expr/src/explain/text.rs:1150–1156  ·  view source on GitHub ↗

Wrap the given `exprs` (with `cols`) into [`HumanizedExpr`] with the current `mode`.

(
        &self,
        exprs: &'i [T],
        cols: Option<&'i Vec<String>>,
    )

Source from the content-addressed store, hash-verified

1148
1149 /// Wrap the given `exprs` (with `cols`) into [`HumanizedExpr`] with the current `mode`.
1150 fn seq<'i, T>(
1151 &self,
1152 exprs: &'i [T],
1153 cols: Option<&'i Vec<String>>,
1154 ) -> impl Iterator<Item = HumanizedExpr<'i, T, Self>> + Clone {
1155 exprs.iter().map(move |expr| self.expr(expr, cols))
1156 }
1157}
1158
1159/// A [`HumanizerMode`] that is ambiguous but allows us to print valid SQL

Callers 14

fmtMethod · 0.80
fmt_default_textMethod · 0.80
fmt_verbose_textMethod · 0.80
fmt_join_key_bracketsFunction · 0.80
fmt_verbose_syntaxMethod · 0.80
fmt_indexed_filterMethod · 0.80
fmt_raw_syntaxMethod · 0.80
fmt_default_textMethod · 0.80
fmt_verbose_textMethod · 0.80
fmt_messageMethod · 0.80
fmt_hintMethod · 0.80
fmt_actionMethod · 0.80

Implementers 1

text.rssrc/expr/src/explain/text.rs

Calls 3

mapMethod · 0.45
iterMethod · 0.45
exprMethod · 0.45

Tested by

no test coverage detected