$modelClass
$modelClass : mixed
$modelClass : mixed
$modelInstance : ?\think\Model
selectList(array $where, array|string $field = '*', int $page, int $limit, string $order = '', array $with = [], bool $search = false, ?array $withoutScopes = null) : ?\think\Collection
查询列表
| array | $where | |
| array|string | $field | |
| int | $page | |
| int | $limit | |
| string | $order | |
| array | $with | |
| bool | $search | |
| ?array | $withoutScopes |
selectModel(array $where, array|string $field = '*', int $page, int $limit, string $order = '', array $with = [], bool $search = false, ?array $withoutScopes = null) : \think\db\Query|\think\Paginator
获取查询构建器或分页结果
| array | $where | |
| array|string | $field | |
| int | $page | |
| int | $limit | |
| string | $order | |
| array | $with | |
| bool | $search | |
| ?array | $withoutScopes |