105 lines
1.3 KiB
Markdown
Raw Normal View History

2022-08-27 12:34:50 +00:00
# ZM\Store\Database\DBPool
## create
```php
public function create(string $name, array $config): mixed
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| name | string | |
| config | array | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |
## pool
```php
public function pool(string $name): mixed
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| name | string | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |
## getAllPools
```php
public function getAllPools(): array
```
### 描述
作者很懒,什么也没有说
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| array | |
## destroyPool
```php
public function destroyPool(string $name): mixed
```
### 描述
作者很懒,什么也没有说
### 参数
| 名称 | 类型 | 描述 |
| -------- | ---- | ----------- |
| name | string | |
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |
## checkMysqlExtension
```php
public function checkMysqlExtension(): mixed
```
### 描述
作者很懒,什么也没有说
### 返回
| 类型 | 描述 |
| ---- | ----------- |
| mixed | |