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

Method num_inputs

src/expr/src/relation.rs:1059–1065  ·  view source on GitHub ↗

The number of child relations this relation has.

(&self)

Source from the content-addressed store, hash-verified

1057
1058 /// The number of child relations this relation has.
1059 pub fn num_inputs(&self) -> usize {
1060 let mut count = 0;
1061
1062 self.visit_children(|_| count += 1);
1063
1064 count
1065 }
1066
1067 /// Constructs a constant collection from specific rows and schema, where
1068 /// each row will have a multiplicity of one.

Callers 4

fix_typesFunction · 0.80
typMethod · 0.80
arityMethod · 0.80

Calls 1

visit_childrenMethod · 0.45

Tested by

no test coverage detected