| 
 | mysqlnd_ms_get_last_gtidReturns the latest global transaction ID Description
   string
    mysqlnd_ms_get_last_gtid
    ( mixed  $connection)Returns a global transaction identifier which belongs to a write operation no older than the last write performed by the client. It is not guaranteed that the global transaction identifier is identical to that one created for the last write transaction performed by the client. ParametersReturn Values
   Returns a global transaction ID (GTID) on success.
   Otherwise, returns  The function mysqlnd_ms_get_last_gtid returns the GTID obtained when executing the SQL statement from the fetch_last_gtid entry of the global_transaction_id_injection section from the plugins configuration file. The function may be called after the GTID has been incremented. Notes
 Examples
 Example #1 mysqlnd_ms_get_last_gtid example 
<?php |