CakePHP Cookbook Documentation 5.xto a database server. This class is responsible for loading the database driver, providing SQL transaction mechanisms and preparing SQL statements among other things. driver The class name of the driver the closure returns false, a rollback will be issued. If the closure executes successfully, the transaction will be committed. Interacting with Statements When using the lower level database API, you will EntityInterface $entity, ArrayObject $options) The Model.afterSaveCommit event is fired after the transaction in which the save operation is wrapped has been committed. It’s also triggered for non atomic saves0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xa database server. This class is re- sponsible for loading the database driver, providing SQL transaction mechanisms and preparing SQL statements among other things. driver The class name of the driver closure returns false, a rollback will be issued. • If the closure executes successfully, the transaction will be committed. Interacting with Statements When using the lower level database API, you will EntityInterface $entity, ArrayObject $options) The Model.afterSaveCommit event is fired after the transaction in which the save operation is wrapped has been committed. It’s also triggered for non atomic saves0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
are saved transaction safe. Table::deleteMany() and Table::deleteManyOrFail() methods have been added for removing many entities at once including callbacks. The entities are removed transaction safe. T to a database server. This class is responsible for loading the database driver, providing SQL transaction mechanisms and preparing SQL statements among other things. driver The class name of the driver the closure returns false, a rollback will be issued. If the closure executes successfully, the transaction will be committed. Interacting with Statements When using the lower level database API, you will0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
saved transaction safe. • Table::deleteMany() and Table::deleteManyOrFail() methods have been added for removing many entities at once including callbacks. The entities are removed transaction safe. a database server. This class is re- sponsible for loading the database driver, providing SQL transaction mechanisms and preparing SQL statements among other things. driver The class name of the driver closure returns false, a rollback will be issued. • If the closure executes successfully, the transaction will be committed. More Information 435 CakePHP Cookbook Documentation, Release 4.x Interacting0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
of counter caches (if any) atomic (since 2.6) Boolean to indicate you want records saved in a transaction. More information about model callbacks is available here Tip If you don’t want the modified any are saved (default), atomic: If true (default), will attempt to save all records in a single transaction. Should be set to false if database/table does not support transactions. fieldList: Equivalent any are saved (default), atomic: If true (default), will attempt to save all records in a single transaction. Should be set to false if database/table does not support transactions. fieldList: Equivalent0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
counter caches (if any) • atomic (since 2.6) Boolean to indicate you want records saved in a transaction. More information about model callbacks is available here More on models 235 CakePHP Cookbook are saved (default), • atomic: If true (default), will attempt to save all records in a single transaction. Should be set to false if database/table does not support transactions. • fieldList: Equivalent are saved (default), • atomic: If true (default), will attempt to save all records in a single transaction. Should be set to false if database/table does not support transactions. • fieldList: Equivalent0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 3.x
within a transaction. Table::deleteMany() and Table::deleteManyOrFail() methods have been added for removing many entities at once including callbacks. The entities are removed within a transaction. TableLocator::clear() to a database server. This class is responsible for loading the database driver, providing SQL transaction mechanisms and preparing SQL statements among other things. driver The class name of the driver the closure returns false, a rollback will be issued. If the closure executes successfully, the transaction will be committed. Interacting with Statements When using the lower level database API, you will0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
within a transaction. • Table::deleteMany() and Table::deleteManyOrFail() methods have been added for removing many entities at once including callbacks. The entities are removed within a transaction. • to a database server. This class is responsible for loading the database driver, providing SQL transaction mechanisms and preparing SQL statements among other things. driver The class name of the driver closure returns false, a rollback will be issued. • If the closure executes successfully, the transaction will be committed. Interacting with Statements When using the lower level database API, you will0 码力 | 967 页 | 2.80 MB | 1 年前3
共 8 条
- 1













