Generic routine to return number of rows changed.
The function returns the number of rows modified, inserted or deleted by the most recently completed INSERT, UPDATE or DELETE statement on the database connection. Auxiliary changes caused by triggers, foreign key actions or REPLACE constraint resolution are not counted.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
integer(kind=i4), | intent(out) | :: | n |
Number of changes. |
The function returns the number of rows modified, inserted or deleted by the most recently completed INSERT, UPDATE or DELETE statement on the database connection. Auxiliary changes caused by triggers, foreign key actions or REPLACE constraint resolution are not counted.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
integer(kind=i8), | intent(out) | :: | n |
Number of changes. |