public function addFlags(array $flags): void
    {
        if (!empty($flags['distinct'])) {
            $this->statement .= ' DISTINCT';
        }
        if (!empty($flags['count'])) {
            $this->isCount = true;
        }
    }