(PHP 5, PHP 7, PHP 8)
mysqli::commit -- mysqli_commit — Commits the current transaction
Nesne yönelimli kullanım
Yordamsal kullanım
Commits the current transaction for the database connection.
bağlantı
Sadece yordamsal tarz: mysqli_connect() veya mysqli_init() işlevinden dönen bir mysqli nesnesi.
flags
A bitmask of MYSQLI_TRANS_COR_*
constants.
name
If provided then COMMIT
is executed.
Eğer mysqli hata bildirimi etkinse (MYSQLI_REPORT_ERROR
) ve istenen işlem başarısız olursa bir uyarı üretilir. Ek olarak, kip MYSQLI_REPORT_STRICT
ise bunun yerine mysqli_sql_exception istisnası oluşur.
Sürüm: | Açıklama |
---|---|
8.0.0 | name is now nullable. |
Bilginize:
This function does not work with non transactional table types (like MyISAM or ISAM).