mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-08 01:05:37 +08:00
add api docs (#80)
This commit is contained in:
39
docs/api/ZM/MySQL/MySQLPool.md
Normal file
39
docs/api/ZM/MySQL/MySQLPool.md
Normal file
@@ -0,0 +1,39 @@
|
||||
# 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 | |
|
||||
Reference in New Issue
Block a user