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

Method has_parameter

crates/sql-parser/src/ast/sub.rs:44–46  ·  view source on GitHub ↗

Is this AST parameterized? We need to know in order to hash subscription queries correctly.

(&self)

Source from the content-addressed store, hash-verified

42 /// Is this AST parameterized?
43 /// We need to know in order to hash subscription queries correctly.
44 pub fn has_parameter(&self) -> bool {
45 self.filter.as_ref().is_some_and(|expr| expr.has_parameter())
46 }
47
48 /// Replace the `:sender` parameter with the [Identity] it represents
49 pub fn resolve_sender(self, sender_identity: Identity) -> Self {

Callers

nothing calls this directly

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected