update docs

This commit is contained in:
crazywhalecc
2021-10-17 16:56:52 +08:00
parent 8d9485c02e
commit 3d62663281
6 changed files with 235 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
# 配置
炸毛框架的数据库组件支持原生 SQL、查询构造器去掉了复杂的对象模型关联同时默认为数据库连接池使开发变得简单。
数据库的配置位于 `config/global.php` 文件的 `mysql_config` 段。
如果 `mysql_config.host` 字段为空,则不创建数据库连接池,填写后将创建,且默认保持长连接。