Skip to content

Commit 00d3c4c

Browse files
wdaglbliu21st
authored andcommitted
model 注释更新
1 parent 2f5ac63 commit 00d3c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/think/Model.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* @method array column(string $field, string $key = '') static 获取某个列的值
4343
* @method $this find(mixed $data = null) static 查询单个记录
4444
* @method $this findOrFail(mixed $data = null) 查询单个记录
45-
* @method \think\Collection|$this[] select(mixed $data = null) static 查询多个记录
45+
* @method Collection|$this[] select(mixed $data = null) static 查询多个记录
4646
* @method $this get(mixed $data = null,mixed $with = [],bool $cache = false, bool $failException = false) static 查询单个记录 支持关联预载入
4747
* @method $this getOrFail(mixed $data = null,mixed $with = [],bool $cache = false) static 查询单个记录 不存在则抛出异常
4848
* @method $this findOrEmpty(mixed $data = null) static 查询单个记录 不存在则返回空模型

0 commit comments

Comments
 (0)