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

Method reset_all

src/sql/src/session/vars.rs:524–529  ·  view source on GitHub ↗

Resets all variables to their default value.

(&mut self)

Source from the content-addressed store, hash-verified

522
523 /// Resets all variables to their default value.
524 pub fn reset_all(&mut self) {
525 let names: Vec<_> = self.vars.keys().copied().collect();
526 for name in names {
527 self.vars[name].reset(false);
528 }
529 }
530
531 /// Returns a [`Var`] representing the configuration parameter with the
532 /// specified name.

Callers 1

resetMethod · 0.45

Calls 3

collectMethod · 0.45
keysMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected