Allows to perform a COMMIT operation on the given connection.
Once several operations are done, that are started with a begin command (use afgs_command_begin), the commit operation is needed to store the current status of the connection to a consistent state into the database.
- AfGsConnection, how to get a connection to perform SQL operations using the same connection/context.
- afgs_command_rollback, undo previous operation and get the database stated, and the connection, at the state where the previous begin operation was issue.
|connection ||The connection where the COMMIT operation will be performed.|
- TRUE if the COMMIT operation was allowed and successfully finished. Otherwise FALSE is returned.