Skip to content

MySQL_GetAffectedRows

imshooter edited this page Oct 24, 2026 · 1 revision

Rows the statement read changed, or the rows it returned.

native MySQL_GetAffectedRows();

Remarks

An INSERT ... ON DUPLICATE KEY UPDATE counts 1 for each row inserted and 2 for each row updated. A batch gives the rows of all its commands.

Related

Clone this wiki locally