public function getLimit() {
        if (false !== strpos($this->limit, ','))
            return $this->limit; // both offset and limit are in the limit attribute;
        return $this->limit ? $this->limit . ' OFFSET ' . $this->offset : '';
    }