Returns number of affected rows in previous database operation. If no previous operation exists,
this returns false.
public lastAffected ( mixed $source = null ) : integer | ||
$source | mixed | The source to check. |
return | integer | Number of affected rows |