public function subQuery(Model $model, $alias = null)
 {
     return $this->query->subQuery($model->getQuery(), $alias);
 }