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

Method finish

src/repr/src/relation.rs:1666–1670  ·  view source on GitHub ↗

Finish the builder, returning a [`RelationDesc`].

(self)

Source from the content-addressed store, hash-verified

1664
1665 /// Finish the builder, returning a [`RelationDesc`].
1666 pub fn finish(self) -> RelationDesc {
1667 let mut desc = RelationDesc::from_names_and_types(self.columns);
1668 desc.typ = desc.typ.with_keys(self.keys);
1669 desc
1670 }
1671}
1672
1673/// Describes a [`RelationDesc`] at a specific version of a [`VersionedRelationDesc`].

Calls 1

with_keysMethod · 0.80