Solar_Sql_Model_Record::saveInTransaction()

public bool Solar_Sql_Model_Record::saveInTransaction ( array $data = NULL )

Perform a save() within a transaction, with automatic commit and rollback.

Parameters

  • (array) $data: An associative array of data to merge with existing record data.

Returns

  • (bool) True on success, false on failure.

Description

Perform a save() within a transaction, with automatic commit and rollback.



Local