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

Method session

src/adapter/src/client.rs:1277–1279  ·  view source on GitHub ↗

Returns a mutable reference to the session bound to this client.

(&mut self)

Source from the content-addressed store, hash-verified

1275
1276 /// Returns a mutable reference to the session bound to this client.
1277 pub fn session(&mut self) -> &mut Session {
1278 self.session.as_mut().expect("session invariant violated")
1279 }
1280
1281 /// Returns a reference to the inner client.
1282 pub fn inner(&self) -> &Client {

Callers 15

runFunction · 0.45
advance_readyMethod · 0.45
one_queryMethod · 0.45
queryMethod · 0.45
bindMethod · 0.45
executeMethod · 0.45
describe_portalMethod · 0.45
close_statementMethod · 0.45
close_portalMethod · 0.45
complete_portalMethod · 0.45
syncMethod · 0.45
readyMethod · 0.45

Calls 2

expectMethod · 0.80
as_mutMethod · 0.45

Tested by 4

test_basic_usageFunction · 0.36
test_reclockFunction · 0.36
test_reclock_gh16318Function · 0.36
test_compactionFunction · 0.36