Precision Casting,精密铸造,精铸件,做好每一个产品,Precision Casting,Precision Cast,Investment casting,foundry精密铸造
10年专注精密铸造 Wax mold precision casting,Investment casting
咨询交流热线:l318l64Ol35
当前位置: 首页 > 新闻中心 > 公司新闻

海南精密铸造厂家仪表产品精密铸造

作者:admin 时间:2023-03-31 00:04:01 点击:

sset($this->links[$linkNum])) {

            if (!$config) {

                $config = $this->config;

            } else {

                $config = array_merge($this->config, $config);

            }

            // 连接参数

            if (isset($config['params']) && is_array($config['params'])) {

                $params = $config['params'] + $this->params;

            } else {

                $params = $this->params;

            }

            // 记录当前字段属性大小写设置

            $this->attrCase = $params[PDO::ATTR_CASE];


            // 数据返回类型

            if (isset($config['result_type'])) {

                $this->fetchType = $config['result_type'];

            }

            try {

                if (empty($config['dsn'])) {

                    $config['dsn'] = $this->parseDsn($config);

                }

                if ($config['debug']) {

                    $startTime = microtime(true);

                }海南精密铸造厂家仪表产品精密铸造

                $this->links[$linkNum] = new PDO($config['dsn'], $config['username'], $config['password'], $params);

                if ($config['debug']) {

                    // 记录数据库连接信息海南精密铸造厂家仪表产品精密铸造

                    Log::record('[ DB ] CONNECT:[ UseTime:' . number_format(microtime(true) - $startTime, 6) . 's ] ' . $config['dsn'], 'sql');

                }

            } catch (\PDOException $e) {

                if ($autoConnection) {

                    Log::record($e->getMessage(), 'erro海南精密铸造厂家仪表产品精密铸造海南精密铸造厂家仪表产品精密铸造r');