// GetExecutionMode returns the execution mode, if not error returned
// then the possible values are: `ExecutionModeInProc`, `ExecutionModeConnect` or `ExecutionModeKubernetes`.
GetExecutionMode returns the execution mode, if not error returned
then the possible values are: `ExecutionModeInProc`, `ExecutionModeConnect` or `ExecutionModeKubernetes`.
// GetExecutionMode returns the execution mode if not error returned // then the possible values are : ` ExecutionModeInProc ` ` ExecutionModeConnect ` or ` ExecutionModeKubernetes ` .
func (c *Client) GetExecutionMode() (ExecutionMode, error) {
	cfg, err := c.GetConfig()
	if err != nil {
		return ExecutionModeInvalid, err
	}
	return cfg.SQLExecutionMode, nil
}
func ( c * Client ) GetExecutionMode ( ) ( ExecutionMode , error ) { cfg , err := c . GetConfig ( ) if err != nil { return ExecutionModeInvalid , err } return cfg . SQLExecutionMode , nil }
GetExecutionMode returns the execution mode, if not error returned
then the possible values are: `ExecutionModeInProc`, `ExecutionModeConnect` or `ExecutionModeKubernetes`.
GetExecutionMode returns the execution mode if not error returned then the possible values are : ` ExecutionModeInProc ` ` ExecutionModeConnect ` or ` ExecutionModeKubernetes ` .