Order the logical steps of a DB::transaction() closure that transfers funds between two accounts.
Money must move atomically between two Account records or not at all.
Ready to try it?
Create a free account and subscribe to take "Order a Database Transaction's Steps". Earn 100 XP and track your internship progress.
Already have an account? Sign in