public function whereAnd($expressions = null) { if ($expressions instanceof Expression) { $expressions = func_get_args(); } return $this->where('$and', array_map(function (Expression $expression) { return $expression->toArray(); }, $expressions)); }