|
| Result (MYSQL_RES *res) |
|
| Result (Result &&o) |
| Implement move.
|
|
Result & | operator= (Result &&o) |
|
| operator bool () const |
|
| operator MYSQL_RES * () |
|
| operator const MYSQL_RES * () const |
|
unsigned | rowcount () const |
|
unsigned | colcount () const |
|
Row | expect_one_result () |
| Check that the function returned only one row, and return that row.
|
|
Row | fetch () |
| Fetch one row.
|
|
| Result (const Result &)=delete |
|
Result & | operator= (const Result &)=delete |
|
|
MYSQL_RES * | res = nullptr |
|
◆ fetch()
Row dballe::sql::mysql::Result::fetch |
( |
| ) |
|
|
inline |
Fetch one row.
Note: mysql_fetch_row does not reset the error indicator, so there is no way to tell the end of the iteration from an error. As a consequence, this is only safe to call after a mysql_store_result.
Accessing mysql_use_result results is implemented using execute_fetch.
The documentation for this struct was generated from the following file: