DatabaseTransactions
trait DatabaseTransactions (View source)
Methods
void | beginDatabaseTransaction() Handle database transactions on the specified connections. | |
array | connectionsToTransact() The database connections that should have transactions. |
Details
void beginDatabaseTransaction()
Handle database transactions on the specified connections.
protected array connectionsToTransact()
The database connections that should have transactions.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.7/Illuminate/Foundation/Testing/DatabaseTransactions.html