protected function prepareInsert($table, $values){
        $sql= 'INSERT INTO ' . $table . ' (';
        $value= 'values(';
        foreach ($values as $key => $val) {
            $sql.= $key . ',';
            $value.= ':' . $key . ',';
        }
        $sql = trim($sql, ',');
        $value = trim($value, ',');
        $sql .= ') ' . $value . ')';
        //Preparo la consulta y la retorno
        return $this->connection->prepare($sql);
    }