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