(PHP 5, PHP 7)
mysqli::rollback -- mysqli_rollback — Rolls back current transaction
Stil obiect-orientat
$flags
= 0
, string $name
= ?
) : boolStil procedural
Rollbacks the current transaction for the database.
link
Numai stilul procedural: Un identificator al legăturii întors de mysqli_connect() sau mysqli_init()
flags
A bitmask of MYSQLI_TRANS_COR_*
constants.
name
If provided then ROLLBACK/*name*/
is executed.
Întoarce valoarea true
în cazul
succesului sau false
în cazul eșecului.
Notă:
This function does not work with non transactional table types (like MyISAM or ISAM).
Versiune | Descriere |
---|---|
5.5.0 |
Added flags and name
parameters.
|