mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
41 lines
549 B
Markdown
41 lines
549 B
Markdown
# ZM\MySQL\MySQLPool
|
|
|
|
## getConnection
|
|
|
|
```php
|
|
public function getConnection(): PDO|PDOProxy|void
|
|
```
|
|
|
|
### 描述
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
### 返回
|
|
|
|
| 类型 | 描述 |
|
|
| ---- | ----------- |
|
|
| PDO|PDOProxy|void | |
|
|
|
|
|
|
## putConnection
|
|
|
|
```php
|
|
public function putConnection(PDO|PDOProxy $connection): mixed
|
|
```
|
|
|
|
### 描述
|
|
|
|
作者很懒,什么也没有说
|
|
|
|
### 参数
|
|
|
|
| 名称 | 类型 | 描述 |
|
|
| -------- | ---- | ----------- |
|
|
| connection | PDO|PDOProxy | |
|
|
|
|
### 返回
|
|
|
|
| 类型 | 描述 |
|
|
| ---- | ----------- |
|
|
| mixed | |
|