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.

Return Value

void

protected array connectionsToTransact()

The database connections that should have transactions.

Return Value

array

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.