ChuckBell / MySQL_Connector_Arduino

Database connector library for using MySQL with your Arduino projects.
331 stars 132 forks source link

Get the amount of rows returned by select. #96

Open Gabe-Soares opened 5 years ago

Gabe-Soares commented 5 years ago

Hey! As we spoke in the issue #78, I need to get the quantity of rows returned by the select, my objective is to store the data returned inside an array, something like: int data[cursor_mem->number_of_rows]; for(int i=0; i<cursor_mem->number_of_rows; i++){ //insert the data in the array } Thanks for your attention, once again!

ChuckBell commented 5 years ago

Ok, I will try to get you something to test in a few days.

On Mon, Apr 8, 2019 at 9:23 PM Gabe-Soares notifications@github.com wrote:

Hey! As we spoke in the issue #78 https://github.com/ChuckBell/MySQL_Connector_Arduino/issues/78, I need to get the quantity of rows returned by the select, my objective is to store the data returned inside an bidimensional array, something like: int data[cursor_mem->number_of_rows]; for(int i=0; inumber_of_rows; i++){ //insert the data in the array } Thanks for your attention, once again!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChuckBell/MySQL_Connector_Arduino/issues/96, or mute the thread https://github.com/notifications/unsubscribe-auth/AH0j4FMHwxh0_2fuACVZvmZvcXu6yvURks5ve-ulgaJpZM4cjaDe .