mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
增加方法注释
This commit is contained in:
@@ -23,7 +23,17 @@ use think\paginator\Collection as PaginatorCollection;
|
|||||||
/**
|
/**
|
||||||
* Class Model
|
* Class Model
|
||||||
* @package think
|
* @package think
|
||||||
* @method PaginatorCollection paginate(integer $listRows = 15, boolean $simple = false, array $config = []) static 分页查询
|
* @method PaginatorCollection paginate(integer $listRows = 15, boolean $simple = false, array $config = []) 分页查询
|
||||||
|
* @method mixed value($field, $default = null) 得到某个字段的值
|
||||||
|
* @method array column($field, $key = '') 得到某个列的数组
|
||||||
|
* @method integer count($field = '*') COUNT查询
|
||||||
|
* @method integer sum($field = '*') SUM查询
|
||||||
|
* @method integer min($field = '*') MIN查询
|
||||||
|
* @method integer max($field = '*') MAX查询
|
||||||
|
* @method integer avg($field = '*') AVG查询
|
||||||
|
* @method setField($field, $value = '')
|
||||||
|
* @method Query where($field, $op = null, $condition = null) 指定AND查询条件
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
abstract class Model implements \JsonSerializable, \ArrayAccess
|
abstract class Model implements \JsonSerializable, \ArrayAccess
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user