1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MySQL++ Reference Manual</title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MySQL++: mysqlpp::UseQueryResult Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">MySQL++
 <span id="projectnumber">3.2.5</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>mysqlpp</b></li><li class="navelem"><a class="el" href="classmysqlpp_1_1UseQueryResult.html">UseQueryResult</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classmysqlpp_1_1UseQueryResult-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">mysqlpp::UseQueryResult Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classmysqlpp_1_1StoreQueryResult.html" title="StoreQueryResult set type for "store" queries.">StoreQueryResult</a> set type for "use" queries.
<a href="classmysqlpp_1_1UseQueryResult.html#details">More...</a></p>
<p><code>#include <<a class="el" href="result_8h_source.html">result.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for mysqlpp::UseQueryResult:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1UseQueryResult__inherit__graph.png" border="0" usemap="#mysqlpp_1_1UseQueryResult_inherit__map" alt="Inheritance graph"/></div>
<map name="mysqlpp_1_1UseQueryResult_inherit__map" id="mysqlpp_1_1UseQueryResult_inherit__map">
<area shape="rect" title="StoreQueryResult set type for "use" queries." alt="" coords="14,152,190,177"/>
<area shape="rect" href="classmysqlpp_1_1ResultBase.html" title="Base class for StoreQueryResult and UseQueryResult." alt="" coords="29,79,175,104"/>
<area shape="rect" href="classmysqlpp_1_1OptionalExceptions.html" title="Interface allowing a class to have optional exceptions." alt="" coords="5,5,199,31"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for mysqlpp::UseQueryResult:</div>
<div class="dyncontent">
<div class="center"><img src="classmysqlpp_1_1UseQueryResult__coll__graph.png" border="0" usemap="#mysqlpp_1_1UseQueryResult_coll__map" alt="Collaboration graph"/></div>
<map name="mysqlpp_1_1UseQueryResult_coll__map" id="mysqlpp_1_1UseQueryResult_coll__map">
<area shape="rect" title="StoreQueryResult set type for "use" queries." alt="" coords="888,97,1065,123"/>
<area shape="rect" href="classmysqlpp_1_1ResultBase.html" title="Base class for StoreQueryResult and UseQueryResult." alt="" coords="692,97,839,123"/>
<area shape="rect" href="classmysqlpp_1_1OptionalExceptions.html" title="Interface allowing a class to have optional exceptions." alt="" coords="400,5,593,31"/>
<area shape="rect" href="classmysqlpp_1_1RefCountedPointer.html" title=" " alt="" coords="401,55,593,93"/>
<area shape="rect" href="classmysqlpp_1_1RefCountedPointer.html" title="Creates an object that acts as a reference-counted pointer to another object." alt="" coords="5,87,197,125"/>
<area shape="rect" href="classmysqlpp_1_1RefCountedPointer.html" title=" " alt="" coords="401,117,593,156"/>
<area shape="rect" href="classmysqlpp_1_1DBDriver.html" title="Provides a thin abstraction layer over the underlying database client library." alt="" coords="430,180,563,205"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8c4596a5f7b1aab0d4ef6939a67de10c"><td class="memItemLeft" align="right" valign="top"><a id="a8c4596a5f7b1aab0d4ef6939a67de10c"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#a8c4596a5f7b1aab0d4ef6939a67de10c">UseQueryResult</a> ()</td></tr>
<tr class="memdesc:a8c4596a5f7b1aab0d4ef6939a67de10c"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a8c4596a5f7b1aab0d4ef6939a67de10c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8e54798b2f62788f2741da6d91b69f9"><td class="memItemLeft" align="right" valign="top"><a id="ae8e54798b2f62788f2741da6d91b69f9"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#ae8e54798b2f62788f2741da6d91b69f9">UseQueryResult</a> (MYSQL_RES *result, <a class="el" href="classmysqlpp_1_1DBDriver.html">DBDriver</a> *dbd, bool te=true)</td></tr>
<tr class="memdesc:ae8e54798b2f62788f2741da6d91b69f9"><td class="mdescLeft"> </td><td class="mdescRight">Create the object, fully initialized. <br /></td></tr>
<tr class="separator:ae8e54798b2f62788f2741da6d91b69f9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a68bb41c82a36c534cd1c128f559cfb"><td class="memItemLeft" align="right" valign="top"><a id="a8a68bb41c82a36c534cd1c128f559cfb"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#a8a68bb41c82a36c534cd1c128f559cfb">UseQueryResult</a> (const <a class="el" href="classmysqlpp_1_1UseQueryResult.html">UseQueryResult</a> &other)</td></tr>
<tr class="memdesc:a8a68bb41c82a36c534cd1c128f559cfb"><td class="mdescLeft"> </td><td class="mdescRight">Create a copy of another <a class="el" href="classmysqlpp_1_1UseQueryResult.html" title="StoreQueryResult set type for "use" queries.">UseQueryResult</a> object. <br /></td></tr>
<tr class="separator:a8a68bb41c82a36c534cd1c128f559cfb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3077144651e05dfc524ab373bee13384"><td class="memItemLeft" align="right" valign="top"><a id="a3077144651e05dfc524ab373bee13384"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#a3077144651e05dfc524ab373bee13384">~UseQueryResult</a> ()</td></tr>
<tr class="memdesc:a3077144651e05dfc524ab373bee13384"><td class="mdescLeft"> </td><td class="mdescRight">Destroy object. <br /></td></tr>
<tr class="separator:a3077144651e05dfc524ab373bee13384"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2c7f55f092e888911acca535d630fbf2"><td class="memItemLeft" align="right" valign="top"><a id="a2c7f55f092e888911acca535d630fbf2"></a>
<a class="el" href="classmysqlpp_1_1UseQueryResult.html">UseQueryResult</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#a2c7f55f092e888911acca535d630fbf2">operator=</a> (const <a class="el" href="classmysqlpp_1_1UseQueryResult.html">UseQueryResult</a> &rhs)</td></tr>
<tr class="memdesc:a2c7f55f092e888911acca535d630fbf2"><td class="mdescLeft"> </td><td class="mdescRight">Copy another <a class="el" href="classmysqlpp_1_1UseQueryResult.html" title="StoreQueryResult set type for "use" queries.">UseQueryResult</a> object's data into this object. <br /></td></tr>
<tr class="separator:a2c7f55f092e888911acca535d630fbf2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8bebfc62afd411184544926854530227"><td class="memItemLeft" align="right" valign="top"><a id="a8bebfc62afd411184544926854530227"></a>
const <a class="el" href="classmysqlpp_1_1Field.html">Field</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#a8bebfc62afd411184544926854530227">fetch_field</a> () const</td></tr>
<tr class="memdesc:a8bebfc62afd411184544926854530227"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next field in this result set. <br /></td></tr>
<tr class="separator:a8bebfc62afd411184544926854530227"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a40ee09b721976d85e5167a333cccf5fb"><td class="memItemLeft" align="right" valign="top"><a id="a40ee09b721976d85e5167a333cccf5fb"></a>
const <a class="el" href="classmysqlpp_1_1Field.html">Field</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#a40ee09b721976d85e5167a333cccf5fb">fetch_field</a> (Fields::size_type i) const</td></tr>
<tr class="memdesc:a40ee09b721976d85e5167a333cccf5fb"><td class="mdescLeft"> </td><td class="mdescRight">Returns the given field in this result set. <br /></td></tr>
<tr class="separator:a40ee09b721976d85e5167a333cccf5fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf21991cc4612e85a86b4c8b16507aa0"><td class="memItemLeft" align="right" valign="top"><a id="abf21991cc4612e85a86b4c8b16507aa0"></a>
const unsigned long * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#abf21991cc4612e85a86b4c8b16507aa0">fetch_lengths</a> () const</td></tr>
<tr class="memdesc:abf21991cc4612e85a86b4c8b16507aa0"><td class="mdescLeft"> </td><td class="mdescRight">Returns the lengths of the fields in the current row of the result set. <br /></td></tr>
<tr class="separator:abf21991cc4612e85a86b4c8b16507aa0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb04925edae3dda7aa3cfc567480ec20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmysqlpp_1_1Row.html">Row</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#aeb04925edae3dda7aa3cfc567480ec20">fetch_row</a> () const</td></tr>
<tr class="memdesc:aeb04925edae3dda7aa3cfc567480ec20"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next row in a "use" query's result set. <a href="#aeb04925edae3dda7aa3cfc567480ec20">More...</a><br /></td></tr>
<tr class="separator:aeb04925edae3dda7aa3cfc567480ec20"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab9369befd99bc6bec5665a038e5a5eea"><td class="memItemLeft" align="right" valign="top"><a id="ab9369befd99bc6bec5665a038e5a5eea"></a>
MYSQL_ROW </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#ab9369befd99bc6bec5665a038e5a5eea">fetch_raw_row</a> () const</td></tr>
<tr class="memdesc:ab9369befd99bc6bec5665a038e5a5eea"><td class="mdescLeft"> </td><td class="mdescRight">Wraps mysql_fetch_row() in MySQL C API. <br /></td></tr>
<tr class="separator:ab9369befd99bc6bec5665a038e5a5eea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0e7d5988960da5d1dbe3cb289815309a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#a0e7d5988960da5d1dbe3cb289815309a">field_seek</a> (Fields::size_type <a class="el" href="classmysqlpp_1_1ResultBase.html#a14d36c2330286a7f2761a94b4314f444">field</a>) const</td></tr>
<tr class="memdesc:a0e7d5988960da5d1dbe3cb289815309a"><td class="mdescLeft"> </td><td class="mdescRight">Jumps to the given field within the result set. <a href="#a0e7d5988960da5d1dbe3cb289815309a">More...</a><br /></td></tr>
<tr class="separator:a0e7d5988960da5d1dbe3cb289815309a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e8966dcc7b06fc0ccc937df03592eb3"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1UseQueryResult.html#a8e8966dcc7b06fc0ccc937df03592eb3">operator MYSQL_RES *</a> () const</td></tr>
<tr class="memdesc:a8e8966dcc7b06fc0ccc937df03592eb3"><td class="mdescLeft"> </td><td class="mdescRight">Return the pointer to the underlying MySQL C API result set object. <a href="#a8e8966dcc7b06fc0ccc937df03592eb3">More...</a><br /></td></tr>
<tr class="separator:a8e8966dcc7b06fc0ccc937df03592eb3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classmysqlpp_1_1ResultBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmysqlpp_1_1ResultBase')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classmysqlpp_1_1ResultBase.html">mysqlpp::ResultBase</a></td></tr>
<tr class="memitem:a792b7694b013dee563349544058bec8f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a792b7694b013dee563349544058bec8f"></a>
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a792b7694b013dee563349544058bec8f">~ResultBase</a> ()</td></tr>
<tr class="memdesc:a792b7694b013dee563349544058bec8f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Destroy object. <br /></td></tr>
<tr class="separator:a792b7694b013dee563349544058bec8f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7cab2f3d0a4981c8c205ef1dcd148cdc inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a7cab2f3d0a4981c8c205ef1dcd148cdc"></a>
const <a class="el" href="classmysqlpp_1_1Field.html">Field</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a7cab2f3d0a4981c8c205ef1dcd148cdc">fetch_field</a> () const</td></tr>
<tr class="memdesc:a7cab2f3d0a4981c8c205ef1dcd148cdc inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Returns the next field in this result set. <br /></td></tr>
<tr class="separator:a7cab2f3d0a4981c8c205ef1dcd148cdc inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a828a05022ab4526abc58c88ff66ab65b inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a828a05022ab4526abc58c88ff66ab65b"></a>
const <a class="el" href="classmysqlpp_1_1Field.html">Field</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a828a05022ab4526abc58c88ff66ab65b">fetch_field</a> (Fields::size_type i) const</td></tr>
<tr class="memdesc:a828a05022ab4526abc58c88ff66ab65b inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Returns the given field in this result set. <br /></td></tr>
<tr class="separator:a828a05022ab4526abc58c88ff66ab65b inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a14d36c2330286a7f2761a94b4314f444 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a14d36c2330286a7f2761a94b4314f444"></a>
const <a class="el" href="classmysqlpp_1_1Field.html">Field</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a14d36c2330286a7f2761a94b4314f444">field</a> (unsigned int i) const</td></tr>
<tr class="memdesc:a14d36c2330286a7f2761a94b4314f444 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the underlying <a class="el" href="classmysqlpp_1_1Field.html" title="Class to hold information about a SQL field.">Field</a> structure given its index. <br /></td></tr>
<tr class="separator:a14d36c2330286a7f2761a94b4314f444 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a50aa09c8f5492beb8a5d802755d94f0d inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a50aa09c8f5492beb8a5d802755d94f0d"></a>
const <a class="el" href="field_8h.html#a6ece05119812efae848df2e61e413273">Fields</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a50aa09c8f5492beb8a5d802755d94f0d">fields</a> () const</td></tr>
<tr class="memdesc:a50aa09c8f5492beb8a5d802755d94f0d inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the underlying Fields structure. <br /></td></tr>
<tr class="separator:a50aa09c8f5492beb8a5d802755d94f0d inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0b54766b327814a78fcfb1fb3aa7f2d2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a0b54766b327814a78fcfb1fb3aa7f2d2"></a>
const std::string & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a0b54766b327814a78fcfb1fb3aa7f2d2">field_name</a> (int i) const</td></tr>
<tr class="memdesc:a0b54766b327814a78fcfb1fb3aa7f2d2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the name of the field at the given index. <br /></td></tr>
<tr class="separator:a0b54766b327814a78fcfb1fb3aa7f2d2 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3600373c3b09d982b28cb140841edc9b inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a3600373c3b09d982b28cb140841edc9b"></a>
const <a class="el" href="classmysqlpp_1_1RefCountedPointer.html">RefCountedPointer</a>< <a class="el" href="classmysqlpp_1_1FieldNames.html">FieldNames</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a3600373c3b09d982b28cb140841edc9b">field_names</a> () const</td></tr>
<tr class="memdesc:a3600373c3b09d982b28cb140841edc9b inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the names of the fields within this result set. <br /></td></tr>
<tr class="separator:a3600373c3b09d982b28cb140841edc9b inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae62270bceb936176b95c21fbbcffc845 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#ae62270bceb936176b95c21fbbcffc845">field_num</a> (const std::string &) const</td></tr>
<tr class="memdesc:ae62270bceb936176b95c21fbbcffc845 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the index of the named field. <a href="classmysqlpp_1_1ResultBase.html#ae62270bceb936176b95c21fbbcffc845">More...</a><br /></td></tr>
<tr class="separator:ae62270bceb936176b95c21fbbcffc845 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e008a59841230913f93d8585e72d5fc inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a5e008a59841230913f93d8585e72d5fc"></a>
const FieldTypes::value_type & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a5e008a59841230913f93d8585e72d5fc">field_type</a> (int i) const</td></tr>
<tr class="memdesc:a5e008a59841230913f93d8585e72d5fc inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get the type of a particular field within this result set. <br /></td></tr>
<tr class="separator:a5e008a59841230913f93d8585e72d5fc inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaba9906e58d03a3f5ec969c909f3cf35 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="aaba9906e58d03a3f5ec969c909f3cf35"></a>
const <a class="el" href="classmysqlpp_1_1RefCountedPointer.html">RefCountedPointer</a>< <a class="el" href="classmysqlpp_1_1FieldTypes.html">FieldTypes</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#aaba9906e58d03a3f5ec969c909f3cf35">field_types</a> () const</td></tr>
<tr class="memdesc:aaba9906e58d03a3f5ec969c909f3cf35 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Get a list of the types of the fields within this result set. <br /></td></tr>
<tr class="separator:aaba9906e58d03a3f5ec969c909f3cf35 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abad7be8ab5e6f997f0b11a8d35a9bc0f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="abad7be8ab5e6f997f0b11a8d35a9bc0f"></a>
size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#abad7be8ab5e6f997f0b11a8d35a9bc0f">num_fields</a> () const</td></tr>
<tr class="memdesc:abad7be8ab5e6f997f0b11a8d35a9bc0f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of fields in this result set. <br /></td></tr>
<tr class="separator:abad7be8ab5e6f997f0b11a8d35a9bc0f inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac781c52c6a6724601d0a889363149a38 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="ac781c52c6a6724601d0a889363149a38"></a>
const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#ac781c52c6a6724601d0a889363149a38">table</a> () const</td></tr>
<tr class="memdesc:ac781c52c6a6724601d0a889363149a38 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Return the name of the table the result set comes from. <br /></td></tr>
<tr class="separator:ac781c52c6a6724601d0a889363149a38 inherit pub_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classmysqlpp_1_1OptionalExceptions"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classmysqlpp_1_1OptionalExceptions')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">mysqlpp::OptionalExceptions</a></td></tr>
<tr class="memitem:a45a3e93f56716abf10704419b5ba4f31 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a45a3e93f56716abf10704419b5ba4f31">OptionalExceptions</a> (bool e=true)</td></tr>
<tr class="memdesc:a45a3e93f56716abf10704419b5ba4f31 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="classmysqlpp_1_1OptionalExceptions.html#a45a3e93f56716abf10704419b5ba4f31">More...</a><br /></td></tr>
<tr class="separator:a45a3e93f56716abf10704419b5ba4f31 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae97334b7e5f89c1927c5d277b770db0a inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a id="ae97334b7e5f89c1927c5d277b770db0a"></a>
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#ae97334b7e5f89c1927c5d277b770db0a">~OptionalExceptions</a> ()</td></tr>
<tr class="memdesc:ae97334b7e5f89c1927c5d277b770db0a inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Destroy object. <br /></td></tr>
<tr class="separator:ae97334b7e5f89c1927c5d277b770db0a inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a46ce5ac667513bac88c0bd459115f236 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a id="a46ce5ac667513bac88c0bd459115f236"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a46ce5ac667513bac88c0bd459115f236">enable_exceptions</a> () const</td></tr>
<tr class="memdesc:a46ce5ac667513bac88c0bd459115f236 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Enable exceptions from the object. <br /></td></tr>
<tr class="separator:a46ce5ac667513bac88c0bd459115f236 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e1a95b8d3c97338c66f21c5d5a4be20 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a id="a4e1a95b8d3c97338c66f21c5d5a4be20"></a>
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a4e1a95b8d3c97338c66f21c5d5a4be20">disable_exceptions</a> () const</td></tr>
<tr class="memdesc:a4e1a95b8d3c97338c66f21c5d5a4be20 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Disable exceptions from the object. <br /></td></tr>
<tr class="separator:a4e1a95b8d3c97338c66f21c5d5a4be20 inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acac3ee271ab36b9f65e6c2110a04ffff inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top"><a id="acac3ee271ab36b9f65e6c2110a04ffff"></a>
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#acac3ee271ab36b9f65e6c2110a04ffff">throw_exceptions</a> () const</td></tr>
<tr class="memdesc:acac3ee271ab36b9f65e6c2110a04ffff inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if exceptions are enabled. <br /></td></tr>
<tr class="separator:acac3ee271ab36b9f65e6c2110a04ffff inherit pub_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classmysqlpp_1_1ResultBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classmysqlpp_1_1ResultBase')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classmysqlpp_1_1ResultBase.html">mysqlpp::ResultBase</a></td></tr>
<tr class="memitem:a13f306c66abb2a9793b02e5db0105093 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a13f306c66abb2a9793b02e5db0105093"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a13f306c66abb2a9793b02e5db0105093">ResultBase</a> ()</td></tr>
<tr class="memdesc:a13f306c66abb2a9793b02e5db0105093 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Create empty object. <br /></td></tr>
<tr class="separator:a13f306c66abb2a9793b02e5db0105093 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade911ef2b108a18ebbcfaf43fdc7e7d8 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="ade911ef2b108a18ebbcfaf43fdc7e7d8"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#ade911ef2b108a18ebbcfaf43fdc7e7d8">ResultBase</a> (MYSQL_RES *result, <a class="el" href="classmysqlpp_1_1DBDriver.html">DBDriver</a> *dbd, bool te=true)</td></tr>
<tr class="memdesc:ade911ef2b108a18ebbcfaf43fdc7e7d8 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Create the object, fully initialized. <br /></td></tr>
<tr class="separator:ade911ef2b108a18ebbcfaf43fdc7e7d8 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1e56ed72be6dc439eab03fccec9ce70 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="ab1e56ed72be6dc439eab03fccec9ce70"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#ab1e56ed72be6dc439eab03fccec9ce70">ResultBase</a> (const <a class="el" href="classmysqlpp_1_1ResultBase.html">ResultBase</a> &other)</td></tr>
<tr class="memdesc:ab1e56ed72be6dc439eab03fccec9ce70 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Create object as a copy of another <a class="el" href="classmysqlpp_1_1ResultBase.html" title="Base class for StoreQueryResult and UseQueryResult.">ResultBase</a>. <br /></td></tr>
<tr class="separator:ab1e56ed72be6dc439eab03fccec9ce70 inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3649538671f94a215c72ad03ff9025aa inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a3649538671f94a215c72ad03ff9025aa"></a>
<a class="el" href="classmysqlpp_1_1ResultBase.html">ResultBase</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a3649538671f94a215c72ad03ff9025aa">copy</a> (const <a class="el" href="classmysqlpp_1_1ResultBase.html">ResultBase</a> &other)</td></tr>
<tr class="memdesc:a3649538671f94a215c72ad03ff9025aa inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Copy another <a class="el" href="classmysqlpp_1_1ResultBase.html" title="Base class for StoreQueryResult and UseQueryResult.">ResultBase</a> object's contents into this one. <br /></td></tr>
<tr class="separator:a3649538671f94a215c72ad03ff9025aa inherit pro_methods_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classmysqlpp_1_1OptionalExceptions"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classmysqlpp_1_1OptionalExceptions')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classmysqlpp_1_1OptionalExceptions.html">mysqlpp::OptionalExceptions</a></td></tr>
<tr class="memitem:a5e4f4a7a1526ceaef3308a385bd28a10 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1OptionalExceptions.html#a5e4f4a7a1526ceaef3308a385bd28a10">set_exceptions</a> (bool e) const</td></tr>
<tr class="memdesc:a5e4f4a7a1526ceaef3308a385bd28a10 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="mdescLeft"> </td><td class="mdescRight">Sets the exception state to a particular value. <a href="classmysqlpp_1_1OptionalExceptions.html#a5e4f4a7a1526ceaef3308a385bd28a10">More...</a><br /></td></tr>
<tr class="separator:a5e4f4a7a1526ceaef3308a385bd28a10 inherit pro_methods_classmysqlpp_1_1OptionalExceptions"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classmysqlpp_1_1ResultBase"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classmysqlpp_1_1ResultBase')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classmysqlpp_1_1ResultBase.html">mysqlpp::ResultBase</a></td></tr>
<tr class="memitem:ac0265838557fd0f63b7abae4927a835f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="ac0265838557fd0f63b7abae4927a835f"></a>
<a class="el" href="classmysqlpp_1_1DBDriver.html">DBDriver</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#ac0265838557fd0f63b7abae4927a835f">driver_</a></td></tr>
<tr class="memdesc:ac0265838557fd0f63b7abae4927a835f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Access to DB driver; fully initted if nonzero. <br /></td></tr>
<tr class="separator:ac0265838557fd0f63b7abae4927a835f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a77840415ae9c611506e39e3f42f6ce1f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a77840415ae9c611506e39e3f42f6ce1f"></a>
<a class="el" href="field_8h.html#a6ece05119812efae848df2e61e413273">Fields</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a77840415ae9c611506e39e3f42f6ce1f">fields_</a></td></tr>
<tr class="memdesc:a77840415ae9c611506e39e3f42f6ce1f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">list of fields in result <br /></td></tr>
<tr class="separator:a77840415ae9c611506e39e3f42f6ce1f inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5a3645ffe00fcd51838317fc40f0194a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a5a3645ffe00fcd51838317fc40f0194a"></a>
<a class="el" href="classmysqlpp_1_1RefCountedPointer.html">RefCountedPointer</a>< <a class="el" href="classmysqlpp_1_1FieldNames.html">FieldNames</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a5a3645ffe00fcd51838317fc40f0194a">names_</a></td></tr>
<tr class="memdesc:a5a3645ffe00fcd51838317fc40f0194a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">list of field names in result <br /></td></tr>
<tr class="separator:a5a3645ffe00fcd51838317fc40f0194a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a60823bb0a547046e1efc68083802194c inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top"><a id="a60823bb0a547046e1efc68083802194c"></a>
<a class="el" href="classmysqlpp_1_1RefCountedPointer.html">RefCountedPointer</a>< <a class="el" href="classmysqlpp_1_1FieldTypes.html">FieldTypes</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a60823bb0a547046e1efc68083802194c">types_</a></td></tr>
<tr class="memdesc:a60823bb0a547046e1efc68083802194c inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">list of field types in result <br /></td></tr>
<tr class="separator:a60823bb0a547046e1efc68083802194c inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e3b9892adbd9ad6d86c80e17af9bc5a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memItemLeft" align="right" valign="top">Fields::size_type </td><td class="memItemRight" valign="bottom"><a class="el" href="classmysqlpp_1_1ResultBase.html#a4e3b9892adbd9ad6d86c80e17af9bc5a">current_field_</a></td></tr>
<tr class="memdesc:a4e3b9892adbd9ad6d86c80e17af9bc5a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="mdescLeft"> </td><td class="mdescRight">Default field index used by <a class="el" href="classmysqlpp_1_1ResultBase.html#a7cab2f3d0a4981c8c205ef1dcd148cdc" title="Returns the next field in this result set.">fetch_field()</a> <a href="classmysqlpp_1_1ResultBase.html#a4e3b9892adbd9ad6d86c80e17af9bc5a">More...</a><br /></td></tr>
<tr class="separator:a4e3b9892adbd9ad6d86c80e17af9bc5a inherit pro_attribs_classmysqlpp_1_1ResultBase"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classmysqlpp_1_1StoreQueryResult.html" title="StoreQueryResult set type for "store" queries.">StoreQueryResult</a> set type for "use" queries. </p>
<p>See the user manual for the reason you might want to use this even though its interface is less friendly than <a class="el" href="classmysqlpp_1_1StoreQueryResult.html" title="StoreQueryResult set type for "store" queries.">StoreQueryResult</a>'s. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aeb04925edae3dda7aa3cfc567480ec20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb04925edae3dda7aa3cfc567480ec20">◆ </a></span>fetch_row()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmysqlpp_1_1Row.html">Row</a> mysqlpp::UseQueryResult::fetch_row </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the next row in a "use" query's result set. </p>
<p>This is a thick wrapper around <a class="el" href="classmysqlpp_1_1DBDriver.html#ab389d52312e33926b6cd41d04667a0ba" title="Returns the next raw C API row structure from the given result set.">DBDriver::fetch_row()</a>. It does a lot of error checking before returning the <a class="el" href="classmysqlpp_1_1Row.html" title="Manages rows from a result set.">Row</a> object containing the row data.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classmysqlpp_1_1UseQueryResult.html#ab9369befd99bc6bec5665a038e5a5eea" title="Wraps mysql_fetch_row() in MySQL C API.">fetch_raw_row()</a> </dd></dl>
<p class="reference">References <a class="el" href="classmysqlpp_1_1ResultBase.html#ac0265838557fd0f63b7abae4927a835f">mysqlpp::ResultBase::driver_</a>, <a class="el" href="classmysqlpp_1_1UseQueryResult.html#abf21991cc4612e85a86b4c8b16507aa0">fetch_lengths()</a>, <a class="el" href="classmysqlpp_1_1DBDriver.html#ab389d52312e33926b6cd41d04667a0ba">mysqlpp::DBDriver::fetch_row()</a>, <a class="el" href="classmysqlpp_1_1RefCountedPointer.html#a26757f1138dded33faeb1978004d0639">mysqlpp::RefCountedPointer< T, Destroyer >::raw()</a>, and <a class="el" href="classmysqlpp_1_1OptionalExceptions.html#acac3ee271ab36b9f65e6c2110a04ffff">mysqlpp::OptionalExceptions::throw_exceptions()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classmysqlpp_1_1Query.html#a2468c96fcf7ea01ebde250f9e9cd0523">mysqlpp::Query::for_each()</a>, and <a class="el" href="classmysqlpp_1_1Query.html#ad7c3181bf3e2bc4399a302a60c4a3527">mysqlpp::Query::store_if()</a>.</p>
</div>
</div>
<a id="a0e7d5988960da5d1dbe3cb289815309a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e7d5988960da5d1dbe3cb289815309a">◆ </a></span>field_seek()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void mysqlpp::UseQueryResult::field_seek </td>
<td>(</td>
<td class="paramtype">Fields::size_type </td>
<td class="paramname"><em>field</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Jumps to the given field within the result set. </p>
<p>Calling this allows you to reset the default field index used by <a class="el" href="classmysqlpp_1_1ResultBase.html#a7cab2f3d0a4981c8c205ef1dcd148cdc" title="Returns the next field in this result set.">fetch_field()</a>. </p>
</div>
</div>
<a id="a8e8966dcc7b06fc0ccc937df03592eb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e8966dcc7b06fc0ccc937df03592eb3">◆ </a></span>operator MYSQL_RES *()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">mysqlpp::UseQueryResult::operator MYSQL_RES * </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the pointer to the underlying MySQL C API result set object. </p>
<p>While this has obvious inherent value for those times you need to dig beneath the MySQL++ interface, it has subtler value. It effectively stands in for operator bool(), operator !(), <a class="el" href="type__info_8h.html#ac6ad1f599784d7ab05293f4b7aa9e8ef" title="Returns true if two mysql_type_info objects are equal.">operator ==()</a>, and <a class="el" href="type__info_8h.html#ad2500346257dbbf2ca903bbb0d1a5c3a" title="Returns true if two mysql_type_info objects are not equal.">operator !=()</a>, because the C++ compiler can implement all of these with a MYSQL_RES*.</p>
<p>Of these uses, the most valuable is using the <a class="el" href="classmysqlpp_1_1UseQueryResult.html" title="StoreQueryResult set type for "use" queries.">UseQueryResult</a> object in bool context to determine if the query that created </p><div class="fragment"><div class="line">Query q(<span class="stringliteral">"...."</span>);</div><div class="line"><span class="keywordflow">if</span> (<a class="code" href="classmysqlpp_1_1UseQueryResult.html#a8c4596a5f7b1aab0d4ef6939a67de10c">UseQueryResult</a> res = q.use()) {</div><div class="line"> <span class="comment">// Can use 'res', query succeeded</span></div><div class="line">}</div><div class="line"><span class="keywordflow">else</span> {</div><div class="line"> <span class="comment">// Query failed, call Query::error() or ::errnum() for why</span></div><div class="line">}</div></div><!-- fragment -->
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="result_8h_source.html">result.h</a></li>
<li>result.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Jul 21 2019 05:32:21 for MySQL++ by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
|