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

Method as_str

src/ore/src/sql.rs:264–266  ·  view source on GitHub ↗

Returns the underlying SQL string.

(&self)

Source from the content-addressed store, hash-verified

262
263 /// Returns the underlying SQL string.
264 pub fn as_str(&self) -> &str {
265 self.0.as_ref()
266 }
267
268 /// Consumes this value and returns the SQL string.
269 pub fn into_string(self) -> String {

Callers 5

joinMethod · 0.45
formatMethod · 0.45
format_uncheckedMethod · 0.45
fmtMethod · 0.45
serializeMethod · 0.45

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected