MySQL_Connector_Arduino icon indicating copy to clipboard operation
MySQL_Connector_Arduino copied to clipboard

Get the amount of rows returned by select.

Open Gabe-Soares opened this issue 5 years ago • 1 comments

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!

Gabe-Soares avatar Apr 09 '19 01:04 Gabe-Soares

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 [email protected] 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; i<cursor_mem->number_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 .

ChuckBell avatar Apr 10 '19 00:04 ChuckBell