private function _processTypeCondition($pField, $pType, $pValue)
    {
        $escapedField = '`' . $pField . '`';

        switch ($pType) {
            case self::IN:
            case self::NOTIN:
                if (is_array($pValue)) {
                    $markers = '?' . str_repeat(', ?', count($pValue) - 1);
                    return sprintf($pType, $escapedField, $markers);
                }
                break;
            case self::INSET:
                return sprintf($pType, '?', $escapedField);
                break;
            default:
                if ($pValue !== NULL) {
                    return sprintf($pType, $escapedField, '?');
                } else {
                    return sprintf($pType, $escapedField);
                }
        }
    }