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

Method represent_as_text

src/sql-server-util/src/desc.rs:345–350  ·  view source on GitHub ↗

Change this [`SqlServerColumnDesc`] to be represented as text in Materialize.

(&mut self)

Source from the content-addressed store, hash-verified

343
344 /// Change this [`SqlServerColumnDesc`] to be represented as text in Materialize.
345 pub fn represent_as_text(&mut self) {
346 self.column_type = self
347 .column_type
348 .as_ref()
349 .map(|ct| SqlScalarType::String.nullable(ct.nullable));
350 }
351
352 /// Exclude this [`SqlServerColumnDesc`] from being replicated into Materialize.
353 pub fn exclude(&mut self) {

Callers 1

apply_text_columnsMethod · 0.80

Calls 3

mapMethod · 0.45
as_refMethod · 0.45
nullableMethod · 0.45

Tested by

no test coverage detected