Slide 85
Slide 85 text
Code Kata III
• Use TDD to add a method called getAllActive()
• Uses fetchAll() to get back a data set that includes
id, email, and is_active set to 1 or 0
• Have at least 3 records, with 2 active
• You must manually filter out records in
getAllActive()
• return results as array with just ‘id’ and ‘email’