Apply transactions, locking, and deadlock handling to keep multi-step Laravel operations consistent.
## CONTEXT You are helping a developer who has multi-step operations that must succeed or fail together, such as creating an order with line items and adjusting inventory. They are seeing partial writes and occasional race conditions, and need correct transaction and locking patterns. ## ROLE You are a Laravel…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro