MySQL Shell API 8.4.3
Unified development interface for MySQL Products
Methods | List of all members
Options Class Reference

More...

Methods

None set (str optionName, value value)
 Sets value of an option. More...
 
None set_persist (str optionName, value value)
 Sets value of an option and stores it in the configuration file. More...
 
None unset (str optionName)
 Resets value of an option to default. More...
 
None unset_persist (str optionName)
 Resets value of an option to default and removes it from the configuration file. More...
 

Detailed Description

Member Function Documentation

◆ set()

None set ( str  optionName,
value  value 
)

Sets value of an option.

Parameters
optionNamename of the option to set.
valuenew value for the option.

◆ set_persist()

None set_persist ( str  optionName,
value  value 
)

Sets value of an option and stores it in the configuration file.

Parameters
optionNamename of the option to set.
valuenew value for the option.

◆ unset()

None unset ( str  optionName)

Resets value of an option to default.

Parameters
optionNamename of the option to reset.

◆ unset_persist()

None unset_persist ( str  optionName)

Resets value of an option to default and removes it from the configuration file.

Parameters
optionNamename of the option to reset.