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

Method server_version_num

src/sql/src/session/vars.rs:811–813  ·  view source on GitHub ↗

Returns the value of the `server_version_num` configuration parameter.

(&self)

Source from the content-addressed store, hash-verified

809
810 /// Returns the value of the `server_version_num` configuration parameter.
811 pub fn server_version_num(&self) -> i32 {
812 *self.expect_value(&SERVER_VERSION_NUM)
813 }
814
815 /// Returns the value of the `sql_safe_updates` configuration parameter.
816 pub fn sql_safe_updates(&self) -> bool {

Callers

nothing calls this directly

Calls 1

expect_valueMethod · 0.80

Tested by

no test coverage detected