Method Msql.msql()->affected_rows()


Method affected_rows

int affected_rows()

Description

This function returns how many rows in the database were affected by our last SQL query.

Note

This function is available only if you're using mSQL version 2 or later. (That means: if the includes and library of version 2 of mSQL were available when the module was compiled).

This function is not part of the standard interface, so it is not available through the Sql.Sql interface, but only through Sql.msql and Msql.msql programs