$eagerlyType
$eagerlyType
Class OneToOne
$model : \think\Model
$query : \think\db\Query
eagerlyWhere(object $model, array $where, string $key, string $relation, string $subRelation = '', bool|\Closure $closure = false) : array
一对一 关联模型预查询(IN方式)
| object | $model | 关联模型对象  | 
                            
| array | $where | 关联预查询条件  | 
                            
| string | $key | 关联键名  | 
                            
| string | $relation | 关联名  | 
                            
| string | $subRelation | 子关联  | 
                            
| bool|\Closure | $closure |