MySQL et info requête dans variable
Bonjour,
Dans cet exemple, le résultat de la requête est envoyé sur le port série et j'aimerais bien avoir cette information dans une string ou variable.
Merci d'avance
Eric
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| Serial.println("\nRunning SELECT from PROGMEM and printing results\n");
// Initiate the query class instance
MySQL_Cursor *cur_mem = new MySQL_Cursor(&conn);
// Execute the query with the PROGMEM option
cur_mem->execute(query, true);
// Show the results
cur_mem->show_results();
// Deleting the cursor also frees up memory used
delete cur_mem;
} |