PHP » GoLang |
login |
register |
about
|
GoLang mysqlnd_ms_get_last_gtid
request it (329)
GoLang replacement for PHP's mysqlnd_ms_get_last_gtid
[edit | history]
mysqlnd_ms_get_last_gtid(PECL mysqlnd_ms >= 1.2.0) mysqlnd_ms_get_last_gtid — Returns the latest global transaction ID DescriptionReturns 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 |
more
Recently updated
more
Most requested
more
Last requests
|