public function createWhereForSerializedBlob(string $field, array $values, string $connective = self::SQL_CONDITION_OR)
    {
        $where = null;
        $returnValues = [];

        if (!\in_array($connective, [self::SQL_CONDITION_OR, self::SQL_CONDITION_AND])) {
            throw new \Exception('Unknown sql junctor');
        }

        foreach ($values as $val) {
            if (null !== $where) {
                $where .= " $connective ";
            }

            $where .= self::SQL_CONDITION_AND == $connective ? '(' : '';

            $where .= "$field REGEXP (?)";

            $where .= self::SQL_CONDITION_AND == $connective ? ')' : '';

            $returnValues[] = "':\"$val\"'";
        }

        return ["($where)", $returnValues];
    }