private function generateJoinCondition($field)
    {
        if (!array_key_exists($field, $this->joinConditions)) {
            return '';
        }

        // ON {joinConditino}
        $format = ' WITH %s';

        return sprintf($format, $this->joinConditions[$field]);
    }