mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
完善Db::connect() 的 phpdoc 注释,增强代码提醒
This commit is contained in:
@@ -14,6 +14,7 @@ namespace think;
|
||||
use think\App;
|
||||
use think\Collection;
|
||||
use think\db\Query;
|
||||
use think\paginator\Collection as PaginatorCollection;
|
||||
|
||||
/**
|
||||
* Class Db
|
||||
|
||||
@@ -23,6 +23,13 @@ use think\Exception;
|
||||
use think\exception\PDOException;
|
||||
use think\Log;
|
||||
|
||||
/**
|
||||
* Class Connection
|
||||
* @package think
|
||||
* @method Query table(string $table) 指定数据表(含前缀)
|
||||
* @method Query name(string $name) 指定数据表(不含前缀)
|
||||
*
|
||||
*/
|
||||
abstract class Connection
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user