src/DB/Connecter/BaseConnecter.php
protected static function getOptions(array $default_options, array $options)
    {
        if (!empty($options)) {
            foreach ($options as $option_key => $option_val) {
                $default_options[$option_key] = $option_val;
            }
        }

        return $default_options;
    }
protected static function getOptions(array $default_options, array $options)
    {
        if (!empty($options)) {
            foreach ($options as $option_key => $option_val) {
                $default_options[$option_key] = $option_val;
            }
        }

        return $default_options;
    }
合并用户输入的options

@param array $default_options
@param array $options
@return array