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

Method add_local

src/transform/src/join_implementation.rs:554–556  ·  view source on GitHub ↗

Adds a local index on the specified collection with the specified key.

(&mut self, id: LocalId, key: Vec<MirScalarExpr>)

Source from the content-addressed store, hash-verified

552
553 /// Adds a local index on the specified collection with the specified key.
554 pub fn add_local(&mut self, id: LocalId, key: Vec<MirScalarExpr>) {
555 self.local.entry(id).or_default().push(key)
556 }
557
558 /// Removes all local indexes on the specified collection.
559 pub fn remove_local(&mut self, id: LocalId) {

Callers 1

action_recursiveMethod · 0.80

Calls 2

pushMethod · 0.45
entryMethod · 0.45

Tested by

no test coverage detected