val f2 = Future { 200 } // heavyTask val f = for { r1 <-‐ f1 r2 <-‐ f2 } yield (r1 + r2) f onSuccess { case r => println(r) // 300 } w ඇಉظॲཧͷ߹खܰ w +BWBͷ$PNQMFUBCMF'VUVSF
name, price, created_at from products where id = ${id} """ .map(rs => Product(rs)).single.apply() w 4DBMB ϚΫϩ֦ுʹΑΔ҆શͳ42- CZTDBMJLFKECD w ίʔυͱ42-͕͠ͳ͍ͨΊѲ͍͢͠