MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / str

Method str

crates/expr/src/expr.rs:423–425  ·  view source on GitHub ↗

A literal string value

(v: Box<str>)

Source from the content-addressed store, hash-verified

421
422 /// A literal string value
423 pub const fn str(v: Box<str>) -> Self {
424 Self::Value(AlgebraicValue::String(v), AlgebraicType::String)
425 }
426
427 /// The [AlgebraicType] of this scalar expression
428 pub fn ty(&self) -> &AlgebraicType {

Callers 11

to_stringMethod · 0.80
to_hex_stringMethod · 0.80
literal_sqlFunction · 0.80
format_floating_pointFunction · 0.80
literal_sqlFunction · 0.80
ExpectEqFunction · 0.80
literal_sqlFunction · 0.80
format_floating_pointFunction · 0.80
to_stringMethod · 0.80
to_stringMethod · 0.80
to_hex_stringMethod · 0.80

Calls 2

StringClass · 0.85
ValueInterface · 0.50

Tested by 1

ExpectEqFunction · 0.64