PDO::rollback
Discards database commands that were issued after calling PDO::beginTransaction and returns the connection to auto commit mode.
Syntax
bool PDO::rollBack ();
Return Value
true if the method call succeeded, false otherwise.
Remarks
PDO::rollback is not affected by (and does not affect) the value of PDO::ATTR_AUTOCOMMIT.
See PDO::beginTransaction for an example that uses PDO::rollback.
Support for PDO was added in version 2.0 of the Microsoft Drivers for PHP for SQL Server.
See Also
משוב
https://aka.ms/ContentUserFeedback.
בקרוב: במהלך 2024, נפתור בעיות GitHub כמנגנון המשוב לתוכן ונחליף אותו במערכת משוב חדשה. לקבלת מידע נוסף, ראה:שלח והצג משוב עבור