A service that provides the apis for mysql command query and affected_rows.
More...
#include <mysql_command_services.h>
A service that provides the apis for mysql command query and affected_rows.
◆ affected_rows
Calls mysql_affected_rows api to return the number of rows changed/deleted/inserted by the last UPDATE,DELETE or INSERT query.
- Parameters
-
[in] | mysql | A valid mysql object. |
[out] | *rows | Number of rows affected, for SELECT stmt it tells about number of rows present. |
- Return values
-
◆ query
Calls mysql_real_query api to executes an SQL query specified as a counted string.
- Parameters
-
[in] | mysql | A valid mysql object. |
[in] | stmt_str | SQL statement which has a query. |
[in] | length | A string length bytes long. |
- Return values
-
The documentation for this struct was generated from the following file: