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

Method map_one

src/expr/src/relation.rs:1192–1194  ·  view source on GitHub ↗

Append to each row a single `scalar`.

(self, scalar: MirScalarExpr)

Source from the content-addressed store, hash-verified

1190
1191 /// Append to each row a single `scalar`.
1192 pub fn map_one(self, scalar: MirScalarExpr) -> Self {
1193 self.map(vec![scalar])
1194 }
1195
1196 /// Like `map`, but yields zero-or-more output rows per input row
1197 pub fn flat_map(self, func: TableFunc, exprs: Vec<MirScalarExpr>) -> Self {

Callers 2

applied_toMethod · 0.80

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected