What is the mysql_store_result () function for?

1
Hello, I would like to know the real function of the mysql_store_result () method inside the C ++ language when we are working with mysql database.

    
asked by anonymous 16.09.2017 / 01:02

1 answer

0

It is used to fetch all query results.

mysqli::store_result() will transfer all the generated result, whereas, unlike mysqli::use_result() will transfer line by line.

It is not recommended to use this command, since you would be loading everything at once and could overwhelm the database. Not to mention that, during the execution of this command, changes to the database are not allowed.

    
16.09.2017 / 02:47