Select data using mysql2 api ---it return data in the form of array?

when we use mysql2 api for database connection with server ------if i select all data in the table (select *from table_name) then it return array???

Yes, it will return an array for select *

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.