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

Method is_feature_flag_enabled

src/sql/src/plan/statement.rs:901–903  ·  view source on GitHub ↗

Returns true if the named [`FeatureFlag`] is set to `on`, returns false otherwise.

(&self, flag: &'static FeatureFlag)

Source from the content-addressed store, hash-verified

899
900 /// Returns true if the named [`FeatureFlag`] is set to `on`, returns false otherwise.
901 pub fn is_feature_flag_enabled(&self, flag: &'static FeatureFlag) -> bool {
902 self.require_feature_flag(flag).is_ok()
903 }
904
905 pub fn finalize_param_types(self) -> Result<Vec<SqlScalarType>, PlanError> {
906 let param_types = self.param_types.into_inner();

Callers 2

plan_select_innerFunction · 0.80

Calls 1

require_feature_flagMethod · 0.45

Tested by

no test coverage detected