<!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> <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.8"/> <title>VSQLite++: sqlite::execute Struct Reference</title> <link href="tabs.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/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </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 style="padding-left: 0.5em;"> <div id="projectname">VSQLite++  <span id="projectnumber">0.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.8 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Friends</a></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"><a class="el" href="namespacesqlite.html">sqlite</a></li><li class="navelem"><a class="el" href="structsqlite_1_1execute.html">execute</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="structsqlite_1_1execute-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">sqlite::execute Struct Reference</div> </div> </div><!--header--> <div class="contents"> <p>execute can be used for SQL commands which should executed the constructor is defined in a way that it can be used like a function An object of this class is not copyable <a href="structsqlite_1_1execute.html#details">More...</a></p> <p><code>#include <<a class="el" href="execute_8hpp_source.html">execute.hpp</a>></code></p> <div class="dynheader"> Inheritance diagram for sqlite::execute:</div> <div class="dyncontent"> <div class="center"><img src="structsqlite_1_1execute__inherit__graph.png" border="0" usemap="#sqlite_1_1execute_inherit__map" alt="Inheritance graph"/></div> <map name="sqlite_1_1execute_inherit__map" id="sqlite_1_1execute_inherit__map"> <area shape="rect" id="node2" href="structsqlite_1_1command.html" title="command is the base class of all sql command classes An object of this class is not copyable ..." alt="" coords="15,131,198,472"/></map> </div> <div class="dynheader"> Collaboration diagram for sqlite::execute:</div> <div class="dyncontent"> <div class="center"><img src="structsqlite_1_1execute__coll__graph.png" border="0" usemap="#sqlite_1_1execute_coll__map" alt="Collaboration graph"/></div> <map name="sqlite_1_1execute_coll__map" id="sqlite_1_1execute_coll__map"> <area shape="rect" id="node2" href="structsqlite_1_1command.html" title="command is the base class of all sql command classes An object of this class is not copyable ..." alt="" coords="82,360,265,687"/><area shape="rect" id="node4" href="structsqlite_1_1connection.html" title="connection is used to open, close, attach and detach a database. Further it has to be passed to all c..." alt="" coords="232,132,435,297"/></map> </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:a329fecf628fe791cfdf1cbeaba84471b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1execute.html#a329fecf628fe791cfdf1cbeaba84471b">execute</a> (<a class="el" href="structsqlite_1_1connection.html">connection</a> &con, std::string const &sql, bool immediately=false)</td></tr> <tr class="memdesc:a329fecf628fe791cfdf1cbeaba84471b"><td class="mdescLeft"> </td><td class="mdescRight">constructor <a href="#a329fecf628fe791cfdf1cbeaba84471b">More...</a><br /></td></tr> <tr class="separator:a329fecf628fe791cfdf1cbeaba84471b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6d60409476a1e637e3d291db2ade1ab2"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1execute.html#a6d60409476a1e637e3d291db2ade1ab2">~execute</a> ()</td></tr> <tr class="memdesc:a6d60409476a1e637e3d291db2ade1ab2"><td class="mdescLeft"> </td><td class="mdescRight">destructor <a href="#a6d60409476a1e637e3d291db2ade1ab2">More...</a><br /></td></tr> <tr class="separator:a6d60409476a1e637e3d291db2ade1ab2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_structsqlite_1_1command"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_structsqlite_1_1command')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="structsqlite_1_1command.html">sqlite::command</a></td></tr> <tr class="memitem:ab5242cec317e5433de48dd7a56e5a55c inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#ab5242cec317e5433de48dd7a56e5a55c">command</a> (<a class="el" href="structsqlite_1_1connection.html">connection</a> &con, std::string const &sql)</td></tr> <tr class="memdesc:ab5242cec317e5433de48dd7a56e5a55c inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight"><em>command</em> constructor <a href="#ab5242cec317e5433de48dd7a56e5a55c">More...</a><br /></td></tr> <tr class="separator:ab5242cec317e5433de48dd7a56e5a55c inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6cd7d9d2631335298f563159b43c81ca inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a6cd7d9d2631335298f563159b43c81ca">~command</a> ()</td></tr> <tr class="memdesc:a6cd7d9d2631335298f563159b43c81ca inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight"><em>command</em> destructor <a href="#a6cd7d9d2631335298f563159b43c81ca">More...</a><br /></td></tr> <tr class="separator:a6cd7d9d2631335298f563159b43c81ca inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab197be74f84a0b75e695005a59181741 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#ab197be74f84a0b75e695005a59181741">clear</a> ()</td></tr> <tr class="memdesc:ab197be74f84a0b75e695005a59181741 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">clear is used if you'd like to reuse a command object <a href="#ab197be74f84a0b75e695005a59181741">More...</a><br /></td></tr> <tr class="separator:ab197be74f84a0b75e695005a59181741 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c17284c56d287ee2017b66b3b0fb899 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a4c17284c56d287ee2017b66b3b0fb899">emit</a> ()</td></tr> <tr class="memdesc:a4c17284c56d287ee2017b66b3b0fb899 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">emit executes the sql command If you have used placeholders you must have replaced all placeholders <a href="#a4c17284c56d287ee2017b66b3b0fb899">More...</a><br /></td></tr> <tr class="separator:a4c17284c56d287ee2017b66b3b0fb899 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad991475054ed5554664d54930133c4ba inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#ad991475054ed5554664d54930133c4ba">operator()</a> ()</td></tr> <tr class="memdesc:ad991475054ed5554664d54930133c4ba inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">works exactly like the method <em><a class="el" href="structsqlite_1_1command.html#a4c17284c56d287ee2017b66b3b0fb899" title="emit executes the sql command If you have used placeholders you must have replaced all placeholders ...">command::emit</a></em> <a href="#ad991475054ed5554664d54930133c4ba">More...</a><br /></td></tr> <tr class="separator:ad991475054ed5554664d54930133c4ba inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a09a49212b0c0b760035f160e3eb4ed63 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a09a49212b0c0b760035f160e3eb4ed63">bind</a> (int idx)</td></tr> <tr class="memdesc:a09a49212b0c0b760035f160e3eb4ed63 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">binds NULL to the given 1 based index <a href="#a09a49212b0c0b760035f160e3eb4ed63">More...</a><br /></td></tr> <tr class="separator:a09a49212b0c0b760035f160e3eb4ed63 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6cca51b28db12ae910b529b0c47b196d inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a6cca51b28db12ae910b529b0c47b196d">bind</a> (int idx, int v)</td></tr> <tr class="memdesc:a6cca51b28db12ae910b529b0c47b196d inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">binds the 32-Bit integer v to the given 1 based index <a href="#a6cca51b28db12ae910b529b0c47b196d">More...</a><br /></td></tr> <tr class="separator:a6cca51b28db12ae910b529b0c47b196d inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a689f675f36e0434031d5c404d49d48bc inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a689f675f36e0434031d5c404d49d48bc">bind</a> (int idx, boost::int64_t v)</td></tr> <tr class="memdesc:a689f675f36e0434031d5c404d49d48bc inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">binds the 64-Bit integer v to the given 1 based index <a href="#a689f675f36e0434031d5c404d49d48bc">More...</a><br /></td></tr> <tr class="separator:a689f675f36e0434031d5c404d49d48bc inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1a9a2ec75af89ad25dfea3e53f8ee3f6 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a1a9a2ec75af89ad25dfea3e53f8ee3f6">bind</a> (int idx, double v)</td></tr> <tr class="memdesc:a1a9a2ec75af89ad25dfea3e53f8ee3f6 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">binds the double v to the given 1 based index <a href="#a1a9a2ec75af89ad25dfea3e53f8ee3f6">More...</a><br /></td></tr> <tr class="separator:a1a9a2ec75af89ad25dfea3e53f8ee3f6 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad62b405d3482e6e3d943a6314f088fd8 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#ad62b405d3482e6e3d943a6314f088fd8">bind</a> (int idx, std::string const &v)</td></tr> <tr class="memdesc:ad62b405d3482e6e3d943a6314f088fd8 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">binds the text/string v to the given 1 based index <a href="#ad62b405d3482e6e3d943a6314f088fd8">More...</a><br /></td></tr> <tr class="separator:ad62b405d3482e6e3d943a6314f088fd8 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a07656657dcbba77da862c88073ea16a9 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a07656657dcbba77da862c88073ea16a9">bind</a> (int idx, void const *buf, size_t buf_size)</td></tr> <tr class="memdesc:a07656657dcbba77da862c88073ea16a9 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">binds the binary/blob buf to the given 1 based index <a href="#a07656657dcbba77da862c88073ea16a9">More...</a><br /></td></tr> <tr class="separator:a07656657dcbba77da862c88073ea16a9 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a77d5ea1040b34eb46e2d3a93294514b9 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a77d5ea1040b34eb46e2d3a93294514b9">bind</a> (int idx, std::vector< unsigned char > const &v)</td></tr> <tr class="memdesc:a77d5ea1040b34eb46e2d3a93294514b9 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">binds the binary/blob v to the given 1 based index <a href="#a77d5ea1040b34eb46e2d3a93294514b9">More...</a><br /></td></tr> <tr class="separator:a77d5ea1040b34eb46e2d3a93294514b9 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8c2f6d181f0b41793e24d34d534cf5b2 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsqlite_1_1command.html">command</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a8c2f6d181f0b41793e24d34d534cf5b2">operator%</a> (<a class="el" href="structsqlite_1_1null__type.html">null_type</a> const &p)</td></tr> <tr class="memdesc:a8c2f6d181f0b41793e24d34d534cf5b2 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">replacement for void <a class="el" href="structsqlite_1_1command.html#a09a49212b0c0b760035f160e3eb4ed63" title="binds NULL to the given 1 based index ">command::bind(int idx)</a>; To use this operator% you have to use the global object <em>nil</em> Indexes are given automatically first call uses 1 as index, second 2 and so on <a href="#a8c2f6d181f0b41793e24d34d534cf5b2">More...</a><br /></td></tr> <tr class="separator:a8c2f6d181f0b41793e24d34d534cf5b2 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afd2b031a1d335d84962d2508ed7d76bc inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsqlite_1_1command.html">command</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#afd2b031a1d335d84962d2508ed7d76bc">operator%</a> (int p)</td></tr> <tr class="memdesc:afd2b031a1d335d84962d2508ed7d76bc inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">replacement for void <a class="el" href="structsqlite_1_1command.html#a6cca51b28db12ae910b529b0c47b196d" title="binds the 32-Bit integer v to the given 1 based index ">command::bind(int idx,int)</a>; Indexes are given automatically first call uses 1 as index, second 2 and so on <a href="#afd2b031a1d335d84962d2508ed7d76bc">More...</a><br /></td></tr> <tr class="separator:afd2b031a1d335d84962d2508ed7d76bc inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a64aa21195e672adddb9d7486e8270fa7 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsqlite_1_1command.html">command</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a64aa21195e672adddb9d7486e8270fa7">operator%</a> (boost::int64_t p)</td></tr> <tr class="memdesc:a64aa21195e672adddb9d7486e8270fa7 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">replacement for void <a class="el" href="structsqlite_1_1command.html#a689f675f36e0434031d5c404d49d48bc" title="binds the 64-Bit integer v to the given 1 based index ">command::bind(int idx,boost::int64_t)</a>; Indexes are given automatically first call uses 1 as index, second 2 and so on <a href="#a64aa21195e672adddb9d7486e8270fa7">More...</a><br /></td></tr> <tr class="separator:a64aa21195e672adddb9d7486e8270fa7 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf06fbd88ed1b6b58f51c534156949f8 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsqlite_1_1command.html">command</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#acf06fbd88ed1b6b58f51c534156949f8">operator%</a> (double p)</td></tr> <tr class="memdesc:acf06fbd88ed1b6b58f51c534156949f8 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">replacement for void <a class="el" href="structsqlite_1_1command.html#a1a9a2ec75af89ad25dfea3e53f8ee3f6" title="binds the double v to the given 1 based index ">command::bind(int idx,double)</a>; Indexes are given automatically first call uses 1 as index, second 2 and so on <a href="#acf06fbd88ed1b6b58f51c534156949f8">More...</a><br /></td></tr> <tr class="separator:acf06fbd88ed1b6b58f51c534156949f8 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac6d745eac1295d54ee1e9af320715c08 inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsqlite_1_1command.html">command</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#ac6d745eac1295d54ee1e9af320715c08">operator%</a> (std::string const &p)</td></tr> <tr class="memdesc:ac6d745eac1295d54ee1e9af320715c08 inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">replacement for void <a class="el" href="structsqlite_1_1command.html#ad62b405d3482e6e3d943a6314f088fd8" title="binds the text/string v to the given 1 based index ">command::bind(int idx,std::string const&)</a>; Indexes are given automatically first call uses 1 as index, second 2 and so on <a href="#ac6d745eac1295d54ee1e9af320715c08">More...</a><br /></td></tr> <tr class="separator:ac6d745eac1295d54ee1e9af320715c08 inherit pub_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8603fbfc5e95924dd02275a75127d9cf inherit pub_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structsqlite_1_1command.html">command</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a8603fbfc5e95924dd02275a75127d9cf">operator%</a> (std::vector< unsigned char > const &p)</td></tr> <tr class="memdesc:a8603fbfc5e95924dd02275a75127d9cf inherit pub_methods_structsqlite_1_1command"><td class="mdescLeft"> </td><td class="mdescRight">replacement for void <a class="el" href="structsqlite_1_1command.html#a77d5ea1040b34eb46e2d3a93294514b9" title="binds the binary/blob v to the given 1 based index ">command::bind(int idx,std::vector<unsigned char> const&)</a>; Indexes are given automatically first call uses 1 as index, second 2 and so on <a href="#a8603fbfc5e95924dd02275a75127d9cf">More...</a><br /></td></tr> <tr class="separator:a8603fbfc5e95924dd02275a75127d9cf inherit pub_methods_structsqlite_1_1command"><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_structsqlite_1_1command"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_structsqlite_1_1command')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="structsqlite_1_1command.html">sqlite::command</a></td></tr> <tr class="memitem:a206242474ec820779a931e1ef719c327 inherit pro_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a206242474ec820779a931e1ef719c327">access_check</a> ()</td></tr> <tr class="separator:a206242474ec820779a931e1ef719c327 inherit pro_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d37a70ff3a1d7d8f3b689fc09501e89 inherit pro_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#a4d37a70ff3a1d7d8f3b689fc09501e89">step</a> ()</td></tr> <tr class="separator:a4d37a70ff3a1d7d8f3b689fc09501e89 inherit pro_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae51ebc71e8e032d5bafd0cba7edd6c96 inherit pro_methods_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">struct sqlite3 * </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#ae51ebc71e8e032d5bafd0cba7edd6c96">get_handle</a> ()</td></tr> <tr class="separator:ae51ebc71e8e032d5bafd0cba7edd6c96 inherit pro_methods_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_structsqlite_1_1command"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_structsqlite_1_1command')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="structsqlite_1_1command.html">sqlite::command</a></td></tr> <tr class="memitem:ab6147e3325e3115f7f39628525a89027 inherit pro_attribs_structsqlite_1_1command"><td class="memItemLeft" align="right" valign="top">sqlite3_stmt * </td><td class="memItemRight" valign="bottom"><a class="el" href="structsqlite_1_1command.html#ab6147e3325e3115f7f39628525a89027">stmt</a></td></tr> <tr class="separator:ab6147e3325e3115f7f39628525a89027 inherit pro_attribs_structsqlite_1_1command"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>execute can be used for SQL commands which should executed the constructor is defined in a way that it can be used like a function An object of this class is not copyable </p> <p>Definition at line <a class="el" href="execute_8hpp_source.html#l00043">43</a> of file <a class="el" href="execute_8hpp_source.html">execute.hpp</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a329fecf628fe791cfdf1cbeaba84471b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">sqlite::execute::execute </td> <td>(</td> <td class="paramtype"><a class="el" href="structsqlite_1_1connection.html">connection</a> & </td> <td class="paramname"><em>con</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">std::string const & </td> <td class="paramname"><em>sql</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>immediately</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>constructor </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">con</td><td>reference to the connection object which should be used </td></tr> <tr><td class="paramname">sql</td><td>the SQL statement which should be executed </td></tr> <tr><td class="paramname">immediately</td><td>if it is true the sql command will be immediately executed if it is false the command will be executed after an emit or operator() call </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a6d60409476a1e637e3d291db2ade1ab2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual sqlite::execute::~execute </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>destructor </p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li>include/sqlite/<a class="el" href="execute_8hpp_source.html">execute.hpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 31 2014 11:19:54 for VSQLite++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.8 </small></address> </body> </html>