getStartingLimit($select) . $this->getLimitCount($select); $limit = ''; if ($mask !== '00') { $start = $this->placeholderWriter->add($select->getLimitStart()); $count = $this->placeholderWriter->add($select->getLimitCount()); $limit = "LIMIT {$count} OFFSET {$start}"; } $parts = \array_merge($parts, [$limit]); return $this; } }