php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #79674 [ES] Wrong translation in PDO::lastInsertId()
Submitted: 2020-06-04 12:29 UTC Modified: 2020-06-04 12:49 UTC
From: xvester at gmail dot com Assigned:
Status: Open Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2020-06-04 12:29 UTC] xvester at gmail dot com
Description:
------------
---
From manual page: https://php.net/pdo.lastinsertid
---

In the Spanish translation, the first paragraph in section RETURN VALUES: 
"Si el nombre de la secuencia no se especifica en el parámetro name, PDO::lastInsertId() devuelve una cadena representando el ID de la última columna que ha sido insertada en la base de datos."

This is wrong. PDO::lastInsertId() returns the ID of the last **row** inserted, not the last column.

It should read: 
"Si el nombre de la secuencia no se especifica en el parámetro name, PDO::lastInsertId() devuelve una cadena representando el ID de la última fila que ha sido insertada en la base de datos."

I can't edit the manual, it takes forever when I click on "edit".



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-06-04 12:49 UTC] cmb@php.net
-Summary: Wrong translation in PDO::lastInsertId() - Spanish +Summary: [ES] Wrong translation in PDO::lastInsertId() -Package: PDO related +Package: Translation problem
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Sep 30 19:01:25 2020 UTC