CI_DB_driver::trans_strict()

trans_strict([$mode = TRUE])

Parameters:
  • $mode (bool) – Strict mode flag
Return type:

void

Enable/disable transaction “strict” mode.

When strict mode is enabled, if you are running multiple groups of transactions and one group fails, all subsequent groups will be rolled back.

If strict mode is disabled, each group is treated autonomously, meaning a failure of one group will not affect any others.

doc_CodeIgniter
2016-10-15 16:31:09
Comments
Leave a Comment

Please login to continue.