Skip to content

Commit

Permalink
model 注释更新
Browse files Browse the repository at this point in the history
  • Loading branch information
wdaglb authored and liu21st committed Dec 15, 2020
1 parent 2f5ac63 commit 00d3c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/think/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* @method array column(string $field, string $key = '') static 获取某个列的值
* @method $this find(mixed $data = null) static 查询单个记录
* @method $this findOrFail(mixed $data = null) 查询单个记录
* @method \think\Collection|$this[] select(mixed $data = null) static 查询多个记录
* @method Collection|$this[] select(mixed $data = null) static 查询多个记录
* @method $this get(mixed $data = null,mixed $with = [],bool $cache = false, bool $failException = false) static 查询单个记录 支持关联预载入
* @method $this getOrFail(mixed $data = null,mixed $with = [],bool $cache = false) static 查询单个记录 不存在则抛出异常
* @method $this findOrEmpty(mixed $data = null) static 查询单个记录 不存在则返回空模型
Expand Down

0 comments on commit 00d3c4c

Please sign in to comment.