public function wheres(Builder $query, array $wheres) { /** @var ProxyInterface $proxy */ foreach ($this->gets() as $proxy) { $proxy->set($this->conn, $this->options); $query = $proxy->wheres($query, $wheres); } return $query; }