public function where(...$whereStatements)
{
$this->addBaseAndIfNotExists();
if (1 == count($whereStatements) && is_array($whereStatements[0])) {
foreach ($whereStatements[0] as $attribute => $value) {
$this->baseAnd->add($this->filterBuilder->eq($attribute, $value));
}
} else {
$this->baseAnd->add(...$whereStatements);
}
return $this;
}