database->conn->prepare($sql); $stmt->execute(); $app->api([ "data" => $stmt->fetchAll(PDO::FETCH_ASSOC) ]);