public function ids($ids)
    {
        $ids = is_array($ids) ? $ids : [$ids];

        $query = new IdsQuery($ids);

        $this->append($query);

        return $this;
    }
public function ids($ids)
    {
        $ids = is_array($ids) ? $ids : [$ids];

        $query = new IdsQuery($ids);

        $this->append($query);

        return $this;
    }
public function ids ( $ ids ) { $ ids = is_array ( $ ids ) ? $ ids : [ $ ids ] ; $ query = new IdsQuery ( $ ids ) ; $ this -> append ( $ query ) ; return $ this ; }
Add an ids query.

@param array | string $ids

@return $this
Add an ids query .