mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
注释完善
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
|
||||
namespace think;
|
||||
|
||||
use think\Collection;
|
||||
use think\db\Query;
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* Class Db
|
||||
@@ -23,6 +25,10 @@ use think\db\Query;
|
||||
* @method Query union(string|array $union, boolean $all = false) static UNION查询
|
||||
* @method Query limit(string|integer $offset, integer $length = null) static 查询LIMIT
|
||||
* @method Query order(string|array $field, string $order = null) static 查询ORDER
|
||||
* @method mixed value(string $field) static 获取某个字段的值
|
||||
* @method array column(string $field, string $key = '') static 获取某个列的值
|
||||
* @method array|false|\PDOStatement|string|Model find(mixed $data = []) static 查询单个记录
|
||||
* @method Collection|false|\PDOStatement|string select(mixed $data = []) static 查询多个记录
|
||||
* @method mixed query(string $sql, array $bind = [], boolean $fetch = false, boolean $master = false, mixed $class = false) static SQL查询
|
||||
* @method integer execute(string $sql, array $bind = [], boolean $fetch = false, boolean $getLastInsID = false, string $sequence = null) static SQL执行
|
||||
* @method PaginatorCollection paginate(integer $listRows = 15, boolean $simple = false, array $config = []) static 分页查询
|
||||
|
||||
Reference in New Issue
Block a user