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

Method database

src/sql/src/session/vars.rs:776–778  ·  view source on GitHub ↗

Returns the value of the `database` configuration parameter.

(&self)

Source from the content-addressed store, hash-verified

774
775 /// Returns the value of the `database` configuration parameter.
776 pub fn database(&self) -> &str {
777 self.expect_value::<String>(&DATABASE).as_str()
778 }
779
780 /// Returns the value of the `extra_float_digits` configuration parameter.
781 pub fn extra_float_digits(&self) -> i32 {

Callers 15

fold_schema_nameMethod · 0.45
allocate_full_nameMethod · 0.45
plan_update_privilegeFunction · 0.45
plan_reassign_ownedFunction · 0.45
plan_drop_ownedFunction · 0.45
plan_alter_schema_swapFunction · 0.45
resolve_schemaFunction · 0.45
mainFunction · 0.45
resolve_configMethod · 0.45
startupMethod · 0.45

Calls 1

as_strMethod · 0.45

Tested by

no test coverage detected