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

Method len

src/repr/src/relation.rs:1094–1096  ·  view source on GitHub ↗

Returns the number of columns in this [`RelationDesc`].

(&self)

Source from the content-addressed store, hash-verified

1092
1093 /// Returns the number of columns in this [`RelationDesc`].
1094 pub fn len(&self) -> usize {
1095 self.typ().column_types.len()
1096 }
1097
1098 /// Constructs a new `RelationDesc` from a `SqlRelationType` and an iterator
1099 /// over column names.

Callers 11

sql_unionMethod · 0.45
arityMethod · 0.45
default_keyMethod · 0.45
from_protoMethod · 0.45
concatMethod · 0.45
add_columnMethod · 0.45
at_versionMethod · 0.45
validate_innerMethod · 0.45
applyMethod · 0.45
arb_relation_desc_diffFunction · 0.45

Calls 1

typMethod · 0.45

Tested by

no test coverage detected