Pdo V20 Extended Features Better
Elara had been dreading this ticket for three weeks. The Jira title glared at her from the screen:
$stmt = $pdo->prepare("SELECT id, name FROM users"); $stmt->execute(); $stmt->setFetchMode(PDO::FETCH_INTO, new UserDTO(0, '')); while ($obj = $stmt->fetch()) echo $obj->name; // Fully populated DTO pdo v20 extended features
