public function whereArray($field) { return $this->whereJsCondition('Array.isArray(this.' . $field . ')'); }