$sql = 'SELECT id, name, email FROM USERS';
$users = $db->query($sql)->fetchAll(PDO::FETCH_OBJ);
[
0 => {id: 123, name: "John", email: "[email protected]"},
1 => {id: 278, name: "Mary", email: "[email protected]"},
2 => {id: 390, name: "Evan", email: "[email protected]"},
]