← All tasks
🔢
Programming Intermediate

Order a Database Transaction's Steps

⏱ 4 min ⭐ 100 XP 🔁 3 attempts allowed

What you'll do

Order the logical steps of a DB::transaction() closure that transfers funds between two accounts.

Scenario

Money must move atomically between two Account records or not at all.

Ready to try it?

Create a free account and try "Order a Database Transaction's Steps" free for 7 days, no card required. Earn 100 XP and track your internship progress.

Already have an account? Sign in