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

Method relation_desc_latest

src/catalog/src/memory/objects.rs:2660–2662  ·  view source on GitHub ↗

Reports the latest [`RelationDesc`] of the rows produced by this [`CatalogEntry`], if it produces rows.

(&self)

Source from the content-addressed store, hash-verified

2658 /// Reports the latest [`RelationDesc`] of the rows produced by this [`CatalogEntry`], if it
2659 /// produces rows.
2660 pub fn relation_desc_latest(&self) -> Option<Cow<'_, RelationDesc>> {
2661 self.item.relation_desc(RelationVersionSelector::Latest)
2662 }
2663
2664 /// Reports if the item has columns.
2665 pub fn has_columns(&self) -> bool {

Callers 6

insert_constantMethod · 0.80
sequence_insertMethod · 0.80
setup_copy_from_stdinMethod · 0.80
pack_item_updateMethod · 0.80
has_columnsMethod · 0.80

Calls 1

relation_descMethod · 0.45

Tested by

no test coverage detected