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

Method sql_typ

src/expr/src/relation.rs:333–336  ·  view source on GitHub ↗

Reports the schema of the relation. This is the SQL-type parallel of [`Self::typ`]; it is merely a wrapper around it, returning a [`SqlRelationType`] instead of a [`ReprRelationType`].

(&self)

Source from the content-addressed store, hash-verified

331 /// a wrapper around it, returning a [`SqlRelationType`] instead of
332 /// a [`ReprRelationType`].
333 pub fn sql_typ(&self) -> SqlRelationType {
334 let repr_typ = self.typ();
335 SqlRelationType::from_repr(&repr_typ)
336 }
337
338 /// Reports the repr schema of the relation.
339 ///

Callers 1

Calls 2

typMethod · 0.45
output_sql_typeMethod · 0.45

Tested by

no test coverage detected