Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 45f6274740296aca6d03a98f5e28e8ca > files > 121

libgdamm5.0-devel-4.99.6-2.mga3.i586.rpm

<!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"/>
<title>libgdamm: Gnome::Gda::Connection Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">libgdamm
   &#160;<span id="projectnumber">4.99.6</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1-20110925 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</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>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceGnome.html">Gnome</a> </li>
      <li class="navelem"><a class="el" href="namespaceGnome_1_1Gda.html">Gda</a> </li>
      <li class="navelem"><a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> </div>
  <div class="headertitle">
<div class="title">Gnome::Gda::Connection Class Reference</div> </div>
</div>
<div class="contents">
<!-- doxytag: class="Gnome::Gda::Connection" --><!-- doxytag: inherits="Glib::Object" -->
<p>Manages a connection to a data source.  <a href="classGnome_1_1Gda_1_1Connection.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Gnome::Gda::Connection:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1Connection__inherit__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1Connection_inherit__map" alt="Inheritance graph"/></div>
<map name="Gnome_1_1Gda_1_1Connection_inherit__map" id="Gnome_1_1Gda_1_1Connection_inherit__map">
<area shape="rect" id="node2"  /></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for Gnome::Gda::Connection:</div>
<div class="dyncontent">
<div class="center"><img src="classGnome_1_1Gda_1_1Connection__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1Connection_coll__map" alt="Collaboration graph"/></div>
<map name="Gnome_1_1Gda_1_1Connection_coll__map" id="Gnome_1_1Gda_1_1Connection_coll__map">
<area shape="rect" id="node2"  /></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classGnome_1_1Gda_1_1Connection-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a73a7c638ef649db9f624ef57344a0b47">~Connection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaConnection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a5c106b0e292325f5f76530005b4109d0">gobj</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a5c106b0e292325f5f76530005b4109d0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdaConnection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a7064c0f625fe6ce6a9495e443a232136">gobj</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a7064c0f625fe6ce6a9495e443a232136"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdaConnection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a14cdfa737dd383e2fa3942e10730d9d9">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a14cdfa737dd383e2fa3942e10730d9d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a9ca58d34a7f005fd14636ac16d598a10">open</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to open the connection. <a href="#a9ca58d34a7f005fd14636ac16d598a10"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a753b238d857bf25c180f474ae0c515fa">close</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Closes the connection to the underlying data source, but first emits the "conn_to_close" signal. <a href="#a753b238d857bf25c180f474ae0c515fa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a546faa9a0a27a5abc93f73da83fd48af">is_opened</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether a connection is open or not. <a href="#a546faa9a0a27a5abc93f73da83fd48af"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#abb76ae2f5eb3d6e693325c7b5367ddd8">get_options</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">Gda::ConnectionOptions</a> used to open this connection. <a href="#abb76ae2f5eb3d6e693325c7b5367ddd8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_dsn</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_cnc_string</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the connection string used to open this connection. <a href="#aa8cccc0c9f41252a9a4ba17c926e607b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ab5576f137c9a7c97eb43677719e02071">clear_events_list</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function lets you clear the list of <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a>'s of the given connection. <a href="#ab5576f137c9a7c97eb43677719e02071"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >Set</a> &gt;&amp; last_insert_row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes <em>stmt</em>. <a href="#af37c928698ef044666772544f8652ec9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >std::vector</a>&lt; GType &gt;&amp; col_types)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes a selection command on the given connection. <a href="#a2940cb7e83054daa66afe1cbc81e0d6d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a6f227e6cd8ccb533f550c166fde71e84">statement_execute_non_select</a> (const <a class="elRef"  >Set</a> &gt;&amp; last_insert_row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes a non-selection statement on the given connection. <a href="#a6f227e6cd8ccb533f550c166fde71e84"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a3094be5d9f79f65ae79c3b2476abdfc1">statement_execute_non_select</a> (const <a class="elRef"  >Set</a> &gt;&amp; params)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#adfb196c980f21e886adf620334712ca5">statement_execute_non_select</a> (const <a class="elRef"  >Statement</a> &gt;&amp; stmt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a90d5386c447f2b29c6b13aa657b190e4">statement_execute_non_select</a> (const <a class="elRef"  >Glib::ustring</a>&amp; sql)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a6a32a0568c3be8cc5dfeabecca51eb88">statement_execute_non_select_builder</a> (const <a class="elRef"  >SqlBuilder</a> &gt;&amp; builder)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a8e4746ffb63fdd71d6d9fb725eff08b4">statement_execute_non_select_builder</a> (const <a class="elRef"  >Set</a> &gt;&amp; params)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a0b2769c56207942aa9033a3c8aeb9a79">async_statement_execute</a> (const <a class="elRef"  >std::vector</a>&lt; GType &gt;&amp; col_types, bool need_last_insert_row=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This method is similar to <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> but is asynchronous as it method returns immediately with a task ID. <a href="#a0b2769c56207942aa9033a3c8aeb9a79"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >async_fetch_result</a> (guint task_id, GdaSet** last_insert_row)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Use this method to obtain the result of the execution of a statement which has been executed asynchronously by calling <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a0b2769c56207942aa9033a3c8aeb9a79" title="This method is similar to statement_execute() but is asynchronous as it method returns immediately wi...">async_statement_execute()</a>. <a href="#a58684e3fd2cfdf6058b20fbed50bda06"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a944eaf61422c1c88f56d196764acd19e">async_cancel</a> (guint task_id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Requests that a task be cancelled. <a href="#a944eaf61422c1c88f56d196764acd19e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
<a class="el" href="classGnome_1_1Gda_1_1TransactionStatus.html">TransactionStatus</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ad470d25a56c84a32b26a47c383e976c3">get_transaction_status</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the status of <em>cnc</em> regarding transactions. <a href="#ad470d25a56c84a32b26a47c383e976c3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a5d73902533bf1153b7827880600f7dcb">begin_transaction</a> (const <a class="elRef"  >TransactionIsolation</a> level)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a transaction on the data source, identified by the <em>name</em> parameter. <a href="#a5d73902533bf1153b7827880600f7dcb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a8265026cc2654bb2adaf83f7df5251de">commit_transaction</a> (const <a class="elRef"  >Glib::ustring</a>&amp; name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Commits the given transaction to the backend database. <a href="#a8265026cc2654bb2adaf83f7df5251de"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a59ed219b2bbb07cf482fb8621e9a85f7">rollback_transaction</a> (const <a class="elRef"  >Glib::ustring</a>&amp; name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Rollbacks the given transaction. <a href="#a59ed219b2bbb07cf482fb8621e9a85f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ae87b52865a812c8a1c6394af9cb2ab22">add_savepoint</a> (const <a class="elRef"  >Glib::ustring</a>&amp; name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a SAVEPOINT named <em>name</em>. <a href="#ae87b52865a812c8a1c6394af9cb2ab22"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a9f4d69f483fdeb3619108966424831a8">rollback_savepoint</a> (const <a class="elRef"  >Glib::ustring</a>&amp; name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Rollback all the modifications made after the SAVEPOINT named <em>name</em>. <a href="#a9f4d69f483fdeb3619108966424831a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ac02d2d0a92201996a25b228b5b21dfaa">delete_savepoint</a> (const <a class="elRef"  >Glib::ustring</a>&amp; name)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delete the SAVEPOINT named <em>name</em> when not used anymore. <a href="#ac02d2d0a92201996a25b228b5b21dfaa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#aec62a361183f4e3785478cb66e5f268d">get_events</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a list of the last errors occurred during the connection. <a href="#aec62a361183f4e3785478cb66e5f268d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; const <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a475c027dc0ee8188e61146f0f1582ad5">get_events</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves a list of the last errors occurred during the connection. <a href="#a475c027dc0ee8188e61146f0f1582ad5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#af843641b09a8c4224eb1e6fefdef1d45">insert_row_into_table</a> (const <a class="elRef"  >Value</a> &gt;&amp; values)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#aead8ac3d7c613740f0d17e477d5fc866">update_row_in_table</a> (const <a class="elRef"  >Value</a> &gt;&amp; values)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a91e7ee9911aca55b222a11c92516fe67">delete_row_from_table</a> (const <a class="elRef"  >Value</a>&amp; condition_value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >Value</a>&amp; from) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Produces a fully quoted and escaped string from a GValue. <a href="#aa17b47e1de3c25749d4c19cb15e6a0a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a4c1ee7605e310e250c75c2d7718cf9f9">supports_feature</a> (<a class="el" href="group__libgdammEnums.html#gaee005a48de360a73b16849b8a3f46b39">ConnectionFeature</a> feature) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Asks the underlying provider for if a specific feature is supported. <a href="#a4c1ee7605e310e250c75c2d7718cf9f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_authentication</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the user name used to open this connection. <a href="#a8271ee00b883a1e6418431e3dd31da40"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >Glib::ustring</a>&amp; sql)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This helps to parse a SQL string. <a href="#a774a2226405e8cf4c61197e78be21ade"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >create_parser</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new parser object able to parse the SQL dialect understood by <em>cnc</em>. <a href="#a113b664f9e84fa60acec61b336cbea99"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_provider_name</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the name (identifier) of the database provider used by <em>cnc</em>. <a href="#ac5273b6f32828ba5a64e3d339a3f68e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a09020e66ecc8268caef2f9c9c352d9cf">update_meta_store</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the full meta store information. <a href="#a09020e66ecc8268caef2f9c9c352d9cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a2f2b33ce1d65dc112a035f44b26ff509">update_meta_store</a> (const <a class="elRef"  >Glib::ustring</a>&amp; id)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the meta store information <em>id</em>. <a href="#a2f2b33ce1d65dc112a035f44b26ff509"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#af393c812374086b28e9afbce9eb40b85">update_meta_store_table</a> (const <a class="elRef"  >Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the meta store information for the table named <em>table_name</em>. <a href="#af393c812374086b28e9afbce9eb40b85"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ad0e7f53bd8922c8e626bba6a65349e80">update_meta_store_table_names</a> (const <a class="elRef"  >Glib::ustring</a>())</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the meta store information for the table names. <a href="#ad0e7f53bd8922c8e626bba6a65349e80"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ac2f548e7a562af13828f656dfd86e1ea">update_meta_store_data_types</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the meta store information for the data types. <a href="#ac2f548e7a562af13828f656dfd86e1ea"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a8e1e9564b4276863200c7247c08b9bf9">statement_prepare</a> (const <a class="elRef"  >Statement</a> &gt;&amp; stmt)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Ask the database accessed through the <em>cnc</em> connection to prepare the usage of <em>stmt</em>. <a href="#a8e1e9564b4276863200c7247c08b9bf9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >Holder</a> &gt; &gt;&amp; filters)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">see #gda_connection_get_meta_store_data <a href="#ad837cef896ecad57f0ffdeeabd5420b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >ConnectionMetaType</a> meta_type)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_meta_store</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get or initializes the <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html" title="Dictionary object.">Gda::MetaStore</a> associated to <em>cnc</em>. <a href="#a89f4db667dc0f1f29ba91fbcbd177a3f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_meta_store</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get or initializes the <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html" title="Dictionary object.">Gda::MetaStore</a> associated to <em>cnc</em>. <a href="#a54d6513b8603c9339015dd8c1e441254"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >StatementModelUsage</a> model_usage)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes all the statements contained in <em>batch</em> (in the order in which they were added to <em>batch</em>), and returns a list of Object objects, at most one Object for each statement; see <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> for details about the returned objects. <a href="#a3487ea32b5e7d13fddd8a55d3ceb5286"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >Set</a> &gt;&amp; options)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object which can be modified in order to perform the type type of action. <a href="#a4083da4350a70f23fa99a5fc88b2bb96"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ac9a38631f125afd7a14ff03e3496d19d">perform_operation</a> (const <a class="elRef"  >ServerOperation</a> &gt;&amp; op)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs the operation described by <em>op</em> (which should have been created using <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a4083da4350a70f23fa99a5fc88b2bb96" title="Creates a new Gda::ServerOperation object which can be modified in order to perform the type type of ...">create_operation()</a>). <a href="#ac9a38631f125afd7a14ff03e3496d19d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >get_provider</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a pointer to the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html" title="Base class for all the DBMS providers.">Gda::ServerProvider</a> object used to access the database. <a href="#ad991889f9c0905beca94eb0136d1102a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
<a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html">ServerProvider</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#addeba179f949a77bf3ec973000458f0a">get_provider</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a pointer to the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html" title="Base class for all the DBMS providers.">Gda::ServerProvider</a> object used to access the database. <a href="#addeba179f949a77bf3ec973000458f0a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >Glib::ustring</a>&amp; id) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Use this method to get a correctly quoted (if necessary) SQL identifier which can be used in SQL statements, from <em>id</em>. <a href="#ab61a3e7bc56f16cf43343aaa10437d9c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >Holder</a> &gt; &gt;&amp; params_used) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders <em>stmt</em> as an SQL statement, adapted to the SQL dialect used by <em>cnc</em>. <a href="#afb5799c274d0eee018095b78c0ef4273"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementSqlFlag</a> flags=STATEMENT_SQL_PARAMS_AS_VALUES) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders a <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> as a SQL statement string, adapted to the SQL dialect used by the connection. <a href="#ac697a5b0cac53ae13dea52c955b44e1b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >StatementSqlFlag</a> flags=STATEMENT_SQL_PARAMS_AS_VALUES) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Renders a <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> as a SQL statement string, adapted to the SQL dialect used by the connection. <a href="#a039d426c9241b07525359c9f03203820"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
const <a class="elRef"  />
&lt; <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a> &gt;&amp; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#abf81caacb8eaa3330228ae413773a93e">signal_error</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >signal_conn_opened</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >signal_conn_to_close</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >signal_conn_closed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >signal_dsn_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >signal_transaction_status_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_provider</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provider to use. <a href="#ad27eb4264b6d8ec696459e7c390a01a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_provider</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provider to use. <a href="#ad888dae6593a5099a3d34fc29b1db99c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_auth_string</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Authentication string to use. <a href="#a952a2e8b59a0ed6777e36235db8ea508"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_auth_string</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Authentication string to use. <a href="#a17814c31bab2fbcd9b8ea6993cdcd8c3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_cnc_string</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> string to use. <a href="#a47e2c6be18d2dffeaaf2791f0b1ce3d3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_cnc_string</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> string to use. <a href="#af36873ccc51e5a44bfa3aa145c0d3619"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_dsn</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">DSN to use. <a href="#aaab020bd1906443f0d39598adfaabe87"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_dsn</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">DSN to use. <a href="#a31db60b160347a272d8f764454356db8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_meta_store</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">GdaMetaStore used by the connection. <a href="#ad3ea0127cf61af313c2670d42ef0d254"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="elRef"  >property_meta_store</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">GdaMetaStore used by the connection. <a href="#a32c8eee810263e4128d2f5f9241c30e1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a3f07593aa8fa5182600ea3b35000bdb5">property_options</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Options. <a href="#a3f07593aa8fa5182600ea3b35000bdb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a0eedf62f643c26b298b200cda21d58e4">property_options</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Options. <a href="#a0eedf62f643c26b298b200cda21d58e4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#aa4a00abf45de963cc01b9fdce4fede74">property_is_wrapper</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells if the connection acts as a thread wrapper around another connection, making it completely thread safe. <a href="#aa4a00abf45de963cc01b9fdce4fede74"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >property_monitor_wrapped_in_mainloop</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Make the connection set up a monitoring function in the mainloop to monitor the wrapped connection. <a href="#a79fc0d6caff981705a38a7c369d1d71e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; bool &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ae6afe0ff69cac5fb08844a098033271c">property_monitor_wrapped_in_mainloop</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Make the connection set up a monitoring function in the mainloop to monitor the wrapped connection. <a href="#ae6afe0ff69cac5fb08844a098033271c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >property_events_history_size</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">You rarely need to use properties because there are get_ and set_ methods for almost all of them. <a href="#a7dc00e15e564646c59c57dc8d8532226"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  >property_events_history_size</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">You rarely need to use properties because there are get_ and set_ methods for almost all of them. <a href="#a8cc0d8510569fcbe5e6ce8ad502bb07a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef"  >create</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef"  >ConnectionOptions</a> options=CONNECTION_OPTIONS_NONE)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef"  >ConnectionOptions</a> options=CONNECTION_OPTIONS_NONE)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Opens a connection given a provider ID and a connection string. <a href="#aacac9c7b117bc67729cfeecf8947f04d"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a2ff5f4a61eb9eca1df238f1deb222cc2">Connection</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a0dae4b40dd4afd2df0286df982dfa864">on_error</a> (const <a class="elRef"  >ConnectionEvent</a> &gt;&amp; error)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a36b6be65dfa0340681d401d918170469">on_conn_opened</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#aac946602f8cf3486d6dabc7a202aecc1">on_conn_to_close</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a637d5304a7bf1382c1de04965d88f88d">on_conn_closed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ae1d2129ff3cd78d4458bfa2c0c7592e4">on_dsn_changed</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a1356430c438f636cd6944e9a3e06202b">on_transaction_status_changed</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef"  />
&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Gnome::Gda::Connection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#abe8f9151ea4f6667adbe7d60ffdb5e54">wrap</a> (GdaConnection* object, bool take_copy=false)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef"  ></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Manages a connection to a data source. </p>
<p>This class offers access to all operations involving an opened connection to a database. <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> objects are obtained via the Client class.</p>
<p>Once obtained, applications can use a <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> to execute commands, run transactions, and get information about all objects stored in the underlying database. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a73a7c638ef649db9f624ef57344a0b47"></a><!-- doxytag: member="Gnome::Gda::Connection::~Connection" ref="a73a7c638ef649db9f624ef57344a0b47" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Gnome::Gda::Connection::~Connection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2ff5f4a61eb9eca1df238f1deb222cc2"></a><!-- doxytag: member="Gnome::Gda::Connection::Connection" ref="a2ff5f4a61eb9eca1df238f1deb222cc2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gnome::Gda::Connection::Connection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae87b52865a812c8a1c6394af9cb2ab22"></a><!-- doxytag: member="Gnome::Gda::Connection::add_savepoint" ref="ae87b52865a812c8a1c6394af9cb2ab22" args="(const Glib::ustring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::add_savepoint </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Adds a SAVEPOINT named <em>name</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Name of the savepoint to add. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a944eaf61422c1c88f56d196764acd19e"></a><!-- doxytag: member="Gnome::Gda::Connection::async_cancel" ref="a944eaf61422c1c88f56d196764acd19e" args="(guint task_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::async_cancel </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>task_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Requests that a task be cancelled. </p>
<p>This operation may of may not have any effect depending on the task's status, even if it returns <code>true</code>. If it returns <code>false</code>, then the task has not been cancelled.</p>
<dl class="since_4_2"><dt><b><a class="el" href="since_4_2.html#_since_4_2000003">Since libgdamm 4.2:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">task_id</td><td>A task ID returned by <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a0b2769c56207942aa9033a3c8aeb9a79" title="This method is similar to statement_execute() but is asynchronous as it method returns immediately wi...">async_statement_execute()</a>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a58684e3fd2cfdf6058b20fbed50bda06"></a><!-- doxytag: member="Gnome::Gda::Connection::async_fetch_result" ref="a58684e3fd2cfdf6058b20fbed50bda06" args="(guint task_id, GdaSet **last_insert_row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::Object</a>&gt; Gnome::Gda::Connection::async_fetch_result </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>task_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GdaSet **&#160;</td>
          <td class="paramname"><em>last_insert_row</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Use this method to obtain the result of the execution of a statement which has been executed asynchronously by calling <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a0b2769c56207942aa9033a3c8aeb9a79" title="This method is similar to statement_execute() but is asynchronous as it method returns immediately wi...">async_statement_execute()</a>. </p>
<p>This function is non locking and will return <code>0</code> (and no error will be set) if the statement has not been executed yet.</p>
<p>If the statement has been executed, this method returns the same value as <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> would have if the statement had been executed synchronously.</p>
<dl class="since_4_2"><dt><b><a class="el" href="since_4_2.html#_since_4_2000002">Since libgdamm 4.2:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">task_id</td><td>A task ID returned by <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a0b2769c56207942aa9033a3c8aeb9a79" title="This method is similar to statement_execute() but is asynchronous as it method returns immediately wi...">async_statement_execute()</a>. </td></tr>
    <tr><td class="paramname">last_insert_row</td><td>A place to store a new <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object which contains the values of the last inserted row, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A Object, or <code>0</code> if an error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a0b2769c56207942aa9033a3c8aeb9a79"></a><!-- doxytag: member="Gnome::Gda::Connection::async_statement_execute" ref="a0b2769c56207942aa9033a3c8aeb9a79" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementModelUsage model_usage, const std::vector&lt; GType &gt; &amp;col_types, bool need_last_insert_row=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Gnome::Gda::Connection::async_statement_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >std::vector</a>&lt; GType &gt; &amp;&#160;</td>
          <td class="paramname"><em>col_types</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>need_last_insert_row</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This method is similar to <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> but is asynchronous as it method returns immediately with a task ID. </p>
<p>It's up to the caller to use <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a58684e3fd2cfdf6058b20fbed50bda06" title="Use this method to obtain the result of the execution of a statement which has been executed asynchro...">async_fetch_result()</a> regularly to check if the statement's execution is finished.</p>
<p>It is possible to call the method several times to request several statements to be executed asynchronously, the statements will be executed in the order in which they were requested.</p>
<p>The parameters, if present, are copied and can be discarded or modified before the statement is actually executed. The <em>stmt</em> object is not copied but simply referenced (for performance reasons), and if it is modified before it is actually executed, then its execution will not occur. It is however safe to call Glib::object_unref() on it if it's not needed anymore.</p>
<p>The execution failure of any statement has no impact on the execution of other statements except for example if the connection has a transaction started and the failure invalidates the transaction (as decided by the database server).</p>
<dl class="since_4_2"><dt><b><a class="el" href="since_4_2.html#_since_4_2000001">Since libgdamm 4.2:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> object. </td></tr>
    <tr><td class="paramname">params</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object (which can be obtained using <a class="el" href="classGnome_1_1Gda_1_1Statement.html#a8dad51a8ddb41ae5d1f67b81e777471c" title="Get a new Gda::Set object which groups all the execution parameters which stmt needs.">Gda::Statement::get_parameters()</a>), or <code>0</code>. </td></tr>
    <tr><td class="paramname">model_usage</td><td>In the case where <em>stmt</em> is a SELECT statement, specifies how the returned data model will be used. </td></tr>
    <tr><td class="paramname">col_types</td><td>An array of GType to request each returned <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a>'s column's GType, terminated with the G_TYPE_NONE. </td></tr>
    <tr><td class="paramname">need_last_insert_row</td><td><code>true</code> if the values of the last interted row must be computed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A task ID, or 0 if an error occurred (not an error regarding <em>stmt</em> itself as its execution has not yet started but any other error). </dd></dl>

</div>
</div>
<a class="anchor" id="a3487ea32b5e7d13fddd8a55d3ceb5286"></a><!-- doxytag: member="Gnome::Gda::Connection::batch_execute" ref="a3487ea32b5e7d13fddd8a55d3ceb5286" args="(const Glib::RefPtr&lt; Batch &gt; &amp;batch, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementModelUsage model_usage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::Object</a>&gt; &gt; Gnome::Gda::Connection::batch_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Batch</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>batch</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Executes all the statements contained in <em>batch</em> (in the order in which they were added to <em>batch</em>), and returns a list of Object objects, at most one Object for each statement; see <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> for details about the returned objects. </p>
<p>If one of the statement fails, then none of the subsequent statement will be executed, and the method returns the list of Object created by the correct execution of the previous statements. If a transaction is required, then it should be started before calling this method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">batch</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Batch.html" title="Multiple SQL statements grouped together.">Gda::Batch</a> object which contains all the statements to execute. </td></tr>
    <tr><td class="paramname">params</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object (which can be obtained using <a class="el" href="classGnome_1_1Gda_1_1Batch.html#ae8236fc74733e881e94b50340638a768" title="Get a new Gda::Set object which groups all the execution parameters which stmt needs.">Gda::Batch::get_parameters()</a>), or <code>0</code>. </td></tr>
    <tr><td class="paramname">model_usage</td><td>Specifies how the returned data model(s) will be used, as a <a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">Gda::StatementModelUsage</a> enum. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new list of Object objects. </dd></dl>

</div>
</div>
<a class="anchor" id="a5d73902533bf1153b7827880600f7dcb"></a><!-- doxytag: member="Gnome::Gda::Connection::begin_transaction" ref="a5d73902533bf1153b7827880600f7dcb" args="(const Glib::ustring &amp;name, TransactionIsolation level)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::begin_transaction </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga1f72a0f3687a131db0d845f421819d1f">TransactionIsolation</a>&#160;</td>
          <td class="paramname"><em>level</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Starts a transaction on the data source, identified by the <em>name</em> parameter. </p>
<p>Before starting a transaction, you can check whether the underlying provider does support transactions or not by using the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a4c1ee7605e310e250c75c2d7718cf9f9" title="Asks the underlying provider for if a specific feature is supported.">supports_feature()</a> function. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the transation to start, or <code>0</code>. </td></tr>
    <tr><td class="paramname">level</td><td>The requested transaction level (<a class="el" href="group__libgdammEnums.html#gga1f72a0f3687a131db0d845f421819d1fa5b5342ba3df05d72db073d93e5d6f462">Gda::TRANSACTION_ISOLATION_UNKNOWN</a> if not specified). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the transaction was started successfully, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="ab5576f137c9a7c97eb43677719e02071"></a><!-- doxytag: member="Gnome::Gda::Connection::clear_events_list" ref="ab5576f137c9a7c97eb43677719e02071" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::Connection::clear_events_list </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This function lets you clear the list of <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a>'s of the given connection. </p>

</div>
</div>
<a class="anchor" id="a753b238d857bf25c180f474ae0c515fa"></a><!-- doxytag: member="Gnome::Gda::Connection::close" ref="a753b238d857bf25c180f474ae0c515fa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::Connection::close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Closes the connection to the underlying data source, but first emits the "conn_to_close" signal. </p>

</div>
</div>
<a class="anchor" id="a8265026cc2654bb2adaf83f7df5251de"></a><!-- doxytag: member="Gnome::Gda::Connection::commit_transaction" ref="a8265026cc2654bb2adaf83f7df5251de" args="(const Glib::ustring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::commit_transaction </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Commits the given transaction to the backend database. </p>
<p>You need to call <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a5d73902533bf1153b7827880600f7dcb" title="Starts a transaction on the data source, identified by the name parameter.">begin_transaction()</a> first. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the transation to commit, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the transaction was finished successfully, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="a87e3e35420dd6b2992fd00f224582d16"></a><!-- doxytag: member="Gnome::Gda::Connection::create" ref="a87e3e35420dd6b2992fd00f224582d16" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef"  >Connection</a>&gt; Gnome::Gda::Connection::create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae15d949a57640cac04c10801a48dfd9f"></a><!-- doxytag: member="Gnome::Gda::Connection::create_from_string" ref="ae15d949a57640cac04c10801a48dfd9f" args="(const Glib::ustring &amp;provider_name, const Glib::ustring &amp;cnc_string, const Glib::ustring &amp;auth_string=Glib::ustring(), ConnectionOptions options=CONNECTION_OPTIONS_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef"  >Connection</a>&gt; Gnome::Gda::Connection::create_from_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>provider_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>cnc_string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>auth_string</em> = <code><a class="elRef"  >Glib::ustring</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a>&#160;</td>
          <td class="paramname"><em>options</em> = <code>CONNECTION_OPTIONS_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a4083da4350a70f23fa99a5fc88b2bb96"></a><!-- doxytag: member="Gnome::Gda::Connection::create_operation" ref="a4083da4350a70f23fa99a5fc88b2bb96" args="(ServerOperationType type, const Glib::RefPtr&lt; const Set &gt; &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ServerOperation</a>&gt; Gnome::Gda::Connection::create_operation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>options</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object which can be modified in order to perform the type type of action. </p>
<p>It is a wrapper around the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#a90b2a3f982289e55ce65dfd04fe125d0" title="Creates a new Gda::ServerOperation object which can be modified in order to perform the type type of ...">Gda::ServerProvider::create_operation()</a> method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>The type of operation requested. </td></tr>
    <tr><td class="paramname">options</td><td>An optional list of parameters. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object, or <code>0</code> in the connection's provider does not support the <em>type</em> type of operation or if an error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a113b664f9e84fa60acec61b336cbea99"></a><!-- doxytag: member="Gnome::Gda::Connection::create_parser" ref="a113b664f9e84fa60acec61b336cbea99" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >SqlParser</a>&gt; Gnome::Gda::Connection::create_parser </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new parser object able to parse the SQL dialect understood by <em>cnc</em>. </p>
<p>If the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html" title="Base class for all the DBMS providers.">Gda::ServerProvider</a> object internally used by <em>cnc</em> does not have its own parser, then <code>0</code> is returned, and a general SQL parser can be obtained using Gda::SqlParser::new(). </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1SqlParser.html" title="SQL parser.">Gda::SqlParser</a> object, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a91e7ee9911aca55b222a11c92516fe67"></a><!-- doxytag: member="Gnome::Gda::Connection::delete_row_from_table" ref="a91e7ee9911aca55b222a11c92516fe67" args="(const Glib::ustring &amp;table, const Glib::ustring &amp;condition_column_name, const Value &amp;condition_value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::delete_row_from_table </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>condition_column_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&amp;&#160;</td>
          <td class="paramname"><em>condition_value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac02d2d0a92201996a25b228b5b21dfaa"></a><!-- doxytag: member="Gnome::Gda::Connection::delete_savepoint" ref="ac02d2d0a92201996a25b228b5b21dfaa" args="(const Glib::ustring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::delete_savepoint </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delete the SAVEPOINT named <em>name</em> when not used anymore. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Name of the savepoint to delete. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a8271ee00b883a1e6418431e3dd31da40"></a><!-- doxytag: member="Gnome::Gda::Connection::get_authentication" ref="a8271ee00b883a1e6418431e3dd31da40" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::get_authentication </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the user name used to open this connection. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The user name. </dd></dl>

</div>
</div>
<a class="anchor" id="aa8cccc0c9f41252a9a4ba17c926e607b"></a><!-- doxytag: member="Gnome::Gda::Connection::get_cnc_string" ref="aa8cccc0c9f41252a9a4ba17c926e607b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::get_cnc_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the connection string used to open this connection. </p>
<p>The connection string is the string sent over to the underlying database provider, which describes the parameters to be used to open a connection on the underlying data source. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The connection string used when opening the connection. </dd></dl>

</div>
</div>
<a class="anchor" id="a35526db9ce60a7b032acfcf93d89f116"></a><!-- doxytag: member="Gnome::Gda::Connection::get_dsn" ref="a35526db9ce60a7b032acfcf93d89f116" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::get_dsn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>The data source name the connection object is connected to. </dd></dl>

</div>
</div>
<a class="anchor" id="aec62a361183f4e3785478cb66e5f268d"></a><!-- doxytag: member="Gnome::Gda::Connection::get_events" ref="aec62a361183f4e3785478cb66e5f268d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ConnectionEvent</a>&gt; &gt; Gnome::Gda::Connection::get_events </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves a list of the last errors occurred during the connection. </p>
<p>The returned list is chronologically ordered such as that the most recent event is the <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a> of the first node.</p>
<p>Warning: the <em>cnc</em> object may change the list if connection events occur </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A List of <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a> objects (the list should not be modified). </dd></dl>

</div>
</div>
<a class="anchor" id="a475c027dc0ee8188e61146f0f1582ad5"></a><!-- doxytag: member="Gnome::Gda::Connection::get_events" ref="a475c027dc0ee8188e61146f0f1582ad5" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ConnectionEvent</a>&gt; &gt; Gnome::Gda::Connection::get_events </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieves a list of the last errors occurred during the connection. </p>
<p>The returned list is chronologically ordered such as that the most recent event is the <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a> of the first node.</p>
<p>Warning: the <em>cnc</em> object may change the list if connection events occur </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A List of <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a> objects (the list should not be modified). </dd></dl>

</div>
</div>
<a class="anchor" id="a89f4db667dc0f1f29ba91fbcbd177a3f"></a><!-- doxytag: member="Gnome::Gda::Connection::get_meta_store" ref="a89f4db667dc0f1f29ba91fbcbd177a3f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >MetaStore</a>&gt; Gnome::Gda::Connection::get_meta_store </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get or initializes the <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html" title="Dictionary object.">Gda::MetaStore</a> associated to <em>cnc</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html" title="Dictionary object.">Gda::MetaStore</a> object. </dd></dl>

</div>
</div>
<a class="anchor" id="a54d6513b8603c9339015dd8c1e441254"></a><!-- doxytag: member="Gnome::Gda::Connection::get_meta_store" ref="a54d6513b8603c9339015dd8c1e441254" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >MetaStore</a>&gt; Gnome::Gda::Connection::get_meta_store </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get or initializes the <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html" title="Dictionary object.">Gda::MetaStore</a> associated to <em>cnc</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html" title="Dictionary object.">Gda::MetaStore</a> object. </dd></dl>

</div>
</div>
<a class="anchor" id="ad837cef896ecad57f0ffdeeabd5420b2"></a><!-- doxytag: member="Gnome::Gda::Connection::get_meta_store_data" ref="ad837cef896ecad57f0ffdeeabd5420b2" args="(ConnectionMetaType meta_type, const std::vector&lt; Glib::RefPtr&lt; Holder &gt; &gt; &amp;filters)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::get_meta_store_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga52016530a0be015cb6f6c2e459fbac11">ConnectionMetaType</a>&#160;</td>
          <td class="paramname"><em>meta_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Holder</a> &gt; &gt;&amp;&#160;</td>
          <td class="paramname"><em>filters</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>see #gda_connection_get_meta_store_data </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">meta_type</td><td>Describes which data to get. </td></tr>
    <tr><td class="paramname">filters</td><td>A List of <a class="el" href="classGnome_1_1Gda_1_1Holder.html" title="Container for a single Gda::Value.">Gda::Holder</a> objects. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a> containing the data required. The caller is responsible for freeing the returned model using Glib::object_unref(). </dd></dl>

</div>
</div>
<a class="anchor" id="ab55ddcd3088139257be2d3b6ec0553a6"></a><!-- doxytag: member="Gnome::Gda::Connection::get_meta_store_data" ref="ab55ddcd3088139257be2d3b6ec0553a6" args="(ConnectionMetaType meta_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::get_meta_store_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga52016530a0be015cb6f6c2e459fbac11">ConnectionMetaType</a>&#160;</td>
          <td class="paramname"><em>meta_type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="abb76ae2f5eb3d6e693325c7b5367ddd8"></a><!-- doxytag: member="Gnome::Gda::Connection::get_options" ref="abb76ae2f5eb3d6e693325c7b5367ddd8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a> Gnome::Gda::Connection::get_options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the <a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">Gda::ConnectionOptions</a> used to open this connection. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The connection options. </dd></dl>

</div>
</div>
<a class="anchor" id="ad991889f9c0905beca94eb0136d1102a"></a><!-- doxytag: member="Gnome::Gda::Connection::get_provider" ref="ad991889f9c0905beca94eb0136d1102a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ServerProvider</a>&gt; Gnome::Gda::Connection::get_provider </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets a pointer to the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html" title="Base class for all the DBMS providers.">Gda::ServerProvider</a> object used to access the database. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html" title="Base class for all the DBMS providers.">Gda::ServerProvider</a> (NEVER <code>0</code>). </dd></dl>

</div>
</div>
<a class="anchor" id="addeba179f949a77bf3ec973000458f0a"></a><!-- doxytag: member="Gnome::Gda::Connection::get_provider" ref="addeba179f949a77bf3ec973000458f0a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ServerProvider</a>&gt; Gnome::Gda::Connection::get_provider </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets a pointer to the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html" title="Base class for all the DBMS providers.">Gda::ServerProvider</a> object used to access the database. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html" title="Base class for all the DBMS providers.">Gda::ServerProvider</a> (NEVER <code>0</code>). </dd></dl>

</div>
</div>
<a class="anchor" id="ac5273b6f32828ba5a64e3d339a3f68e6"></a><!-- doxytag: member="Gnome::Gda::Connection::get_provider_name" ref="ac5273b6f32828ba5a64e3d339a3f68e6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::get_provider_name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Gets the name (identifier) of the database provider used by <em>cnc</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A non modifiable string. </dd></dl>

</div>
</div>
<a class="anchor" id="ad470d25a56c84a32b26a47c383e976c3"></a><!-- doxytag: member="Gnome::Gda::Connection::get_transaction_status" ref="ad470d25a56c84a32b26a47c383e976c3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >TransactionStatus</a>&gt; Gnome::Gda::Connection::get_transaction_status </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the status of <em>cnc</em> regarding transactions. </p>
<p>The returned object should not be modified or destroyed; however it may be modified or destroyed by the connection itself.</p>
<p>If <code>0</code> is returned, then no transaction has been associated with <em>cnc</em> </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1TransactionStatus.html" title="Keeps track of the transactional status of a connection.">Gda::TransactionStatus</a> object, or <code>0</code>. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c106b0e292325f5f76530005b4109d0"></a><!-- doxytag: member="Gnome::Gda::Connection::gobj" ref="a5c106b0e292325f5f76530005b4109d0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaConnection* Gnome::Gda::Connection::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef"  >Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a7064c0f625fe6ce6a9495e443a232136"></a><!-- doxytag: member="Gnome::Gda::Connection::gobj" ref="a7064c0f625fe6ce6a9495e443a232136" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const GdaConnection* Gnome::Gda::Connection::gobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C GObject. </p>

<p>Reimplemented from <a class="elRef"  >Glib::ObjectBase</a>.</p>

</div>
</div>
<a class="anchor" id="a14cdfa737dd383e2fa3942e10730d9d9"></a><!-- doxytag: member="Gnome::Gda::Connection::gobj_copy" ref="a14cdfa737dd383e2fa3942e10730d9d9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdaConnection* Gnome::Gda::Connection::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a class="anchor" id="af843641b09a8c4224eb1e6fefdef1d45"></a><!-- doxytag: member="Gnome::Gda::Connection::insert_row_into_table" ref="af843641b09a8c4224eb1e6fefdef1d45" args="(const Glib::ustring &amp;table, const std::vector&lt; Glib::ustring &gt; &amp;col_names, const std::vector&lt; Value &gt; &amp;values)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::insert_row_into_table </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>col_names</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Value</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a546faa9a0a27a5abc93f73da83fd48af"></a><!-- doxytag: member="Gnome::Gda::Connection::is_opened" ref="a546faa9a0a27a5abc93f73da83fd48af" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::is_opened </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Checks whether a connection is open or not. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the connection is open, <code>false</code> if it's not. </dd></dl>

</div>
</div>
<a class="anchor" id="a637d5304a7bf1382c1de04965d88f88d"></a><!-- doxytag: member="Gnome::Gda::Connection::on_conn_closed" ref="a637d5304a7bf1382c1de04965d88f88d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::Connection::on_conn_closed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a36b6be65dfa0340681d401d918170469"></a><!-- doxytag: member="Gnome::Gda::Connection::on_conn_opened" ref="a36b6be65dfa0340681d401d918170469" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::Connection::on_conn_opened </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aac946602f8cf3486d6dabc7a202aecc1"></a><!-- doxytag: member="Gnome::Gda::Connection::on_conn_to_close" ref="aac946602f8cf3486d6dabc7a202aecc1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::Connection::on_conn_to_close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae1d2129ff3cd78d4458bfa2c0c7592e4"></a><!-- doxytag: member="Gnome::Gda::Connection::on_dsn_changed" ref="ae1d2129ff3cd78d4458bfa2c0c7592e4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::Connection::on_dsn_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a0dae4b40dd4afd2df0286df982dfa864"></a><!-- doxytag: member="Gnome::Gda::Connection::on_error" ref="a0dae4b40dd4afd2df0286df982dfa864" args="(const Glib::RefPtr&lt; ConnectionEvent &gt; &amp;error)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::Connection::on_error </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >ConnectionEvent</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>error</em></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a1356430c438f636cd6944e9a3e06202b"></a><!-- doxytag: member="Gnome::Gda::Connection::on_transaction_status_changed" ref="a1356430c438f636cd6944e9a3e06202b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gnome::Gda::Connection::on_transaction_status_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9ca58d34a7f005fd14636ac16d598a10"></a><!-- doxytag: member="Gnome::Gda::Connection::open" ref="a9ca58d34a7f005fd14636ac16d598a10" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::open </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tries to open the connection. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the connection is opened, and <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="aacac9c7b117bc67729cfeecf8947f04d"></a><!-- doxytag: member="Gnome::Gda::Connection::open_from_string" ref="aacac9c7b117bc67729cfeecf8947f04d" args="(const Glib::ustring &amp;provider_name, const Glib::ustring &amp;cnc_string, const Glib::ustring &amp;auth_string=Glib::ustring(), ConnectionOptions options=CONNECTION_OPTIONS_NONE)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef"  >Connection</a>&gt; Gnome::Gda::Connection::open_from_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>provider_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>cnc_string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>auth_string</em> = <code><a class="elRef"  >Glib::ustring</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a>&#160;</td>
          <td class="paramname"><em>options</em> = <code>CONNECTION_OPTIONS_NONE</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Opens a connection given a provider ID and a connection string. </p>
<p>This allows applications to open connections without having to create a data source (DSN) in the configuration. The format of <em>cnc_string</em> is similar to PostgreSQL and MySQL connection strings. It is a semicolumn-separated series of &lt;key&gt;=</p>
<p>pairs, where each key and value are encoded as per RFC 1738, see gda_rfc1738_encode() for more information.</p>
<p>The possible keys depend on the provider, the "gda-sql-4.0 -L" command can be used to list the actual keys for each installed database provider.</p>
<p>For example the connection string to open an SQLite connection to a database file named "my_data.db" in the current directory would be <code>"DB_DIR=.;DB_NAME=my_data"</code>.</p>
<p>The <em>cnc_string</em> string must have the following format: "[&lt;provider&gt;://][&lt;username&gt;[:&lt;password&gt;]@]&lt;connection_params&gt;" (if &lt;username&gt; and/or &lt;password&gt; are provided, and <em>auth_string</em> is <code>0</code>, then these username and passwords will be used, and if &lt;provider&gt; is provided and <em>provider_name</em> is <code>0</code> then this provider will be used). Note that if provided, &lt;username&gt;, &lt;password&gt; and &lt;provider&gt; must be encoded as per RFC 1738, see gda_rfc1738_encode() for more information.</p>
<p>The <em>auth_string</em> must contain the authentication information for the server to accept the connection. It is a string containing semi-colon seperated named values, usually like "USERNAME=...;PASSWORD=..." where the ... are replaced by actual values. Note that each name and value must be encoded as per RFC 1738, see gda_rfc1738_encode() for more information.</p>
<p>The actual named parameters required depend on the provider being used, and that list is available as the &lt;parameter&gt;auth_params&lt;/parameter&gt; member of the Gda::ProviderInfo structure for each installed provider (use Gda::Config::get_provider_info() to get it). Similarly to the format of the connection string, use the "gda-sql-4.0 -L" command to list the possible named parameters.</p>
<p>Additionally, it is possible to have the connection string respect the "&lt;provider_name&gt;://&lt;real cnc string&gt;" format, in which case the provider name and the real connection string will be extracted from that string (note that if <em>provider_name</em> is not <code>0</code> then it will still be used as the provider ID).\</p>
<p>This method may fail with a GDA_CONNECTION_ERROR domain error (see the <a class="el" href="classGnome_1_1Gda_1_1ConnectionError.html" title="Exception class for Gda connection errors.">Gda::ConnectionError</a> error codes) or a Gda::CONFIG_ERROR domain error (see the <a class="el" href="classGnome_1_1Gda_1_1ConfigError.html">Gda::ConfigError</a> error codes). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">provider_name</td><td>Provider ID to connect to, or <code>0</code>. </td></tr>
    <tr><td class="paramname">cnc_string</td><td><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> string. </td></tr>
    <tr><td class="paramname">auth_string</td><td>Authentication string, or <code>0</code>. </td></tr>
    <tr><td class="paramname">options</td><td>Options for the connection (see <a class="el" href="group__libgdammEnums.html#ga433252f971f9fd95a92c16b62f9a8f37">Gda::ConnectionOptions</a>). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Gda::Connection</a> if connection opening was sucessfull or <code>0</code> if there was an error. </dd></dl>

</div>
</div>
<a class="anchor" id="a774a2226405e8cf4c61197e78be21ade"></a><!-- doxytag: member="Gnome::Gda::Connection::parse_sql_string" ref="a774a2226405e8cf4c61197e78be21ade" args="(const Glib::ustring &amp;sql)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Statement</a>&gt; Gnome::Gda::Connection::parse_sql_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>sql</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>This helps to parse a SQL string. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">sql</td><td>An SQL command to parse. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> representing the SQL command or an empty RefPtr if an error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9a38631f125afd7a14ff03e3496d19d"></a><!-- doxytag: member="Gnome::Gda::Connection::perform_operation" ref="ac9a38631f125afd7a14ff03e3496d19d" args="(const Glib::RefPtr&lt; ServerOperation &gt; &amp;op)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::perform_operation </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >ServerOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>op</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Performs the operation described by <em>op</em> (which should have been created using <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a4083da4350a70f23fa99a5fc88b2bb96" title="Creates a new Gda::ServerOperation object which can be modified in order to perform the type type of ...">create_operation()</a>). </p>
<p>It is a wrapper around the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#aae525130d168a277ef8c0afffbf58e89" title="Performs the operation described by op.">Gda::ServerProvider::perform_operation()</a> method. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">op</td><td>A <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html" title="Handles any DDL query in an abstract way.">Gda::ServerOperation</a> object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a952a2e8b59a0ed6777e36235db8ea508"></a><!-- doxytag: member="Gnome::Gda::Connection::property_auth_string" ref="a952a2e8b59a0ed6777e36235db8ea508" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a>&gt; Gnome::Gda::Connection::property_auth_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Authentication string to use. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a17814c31bab2fbcd9b8ea6993cdcd8c3"></a><!-- doxytag: member="Gnome::Gda::Connection::property_auth_string" ref="a17814c31bab2fbcd9b8ea6993cdcd8c3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a>&gt; Gnome::Gda::Connection::property_auth_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Authentication string to use. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a47e2c6be18d2dffeaaf2791f0b1ce3d3"></a><!-- doxytag: member="Gnome::Gda::Connection::property_cnc_string" ref="a47e2c6be18d2dffeaaf2791f0b1ce3d3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a>&gt; Gnome::Gda::Connection::property_cnc_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> string to use. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="af36873ccc51e5a44bfa3aa145c0d3619"></a><!-- doxytag: member="Gnome::Gda::Connection::property_cnc_string" ref="af36873ccc51e5a44bfa3aa145c0d3619" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a>&gt; Gnome::Gda::Connection::property_cnc_string </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classGnome_1_1Gda_1_1Connection.html" title="Manages a connection to a data source.">Connection</a> string to use. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="aaab020bd1906443f0d39598adfaabe87"></a><!-- doxytag: member="Gnome::Gda::Connection::property_dsn" ref="aaab020bd1906443f0d39598adfaabe87" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a>&gt; Gnome::Gda::Connection::property_dsn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>DSN to use. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a31db60b160347a272d8f764454356db8"></a><!-- doxytag: member="Gnome::Gda::Connection::property_dsn" ref="a31db60b160347a272d8f764454356db8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a>&gt; Gnome::Gda::Connection::property_dsn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>DSN to use. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a7dc00e15e564646c59c57dc8d8532226"></a><!-- doxytag: member="Gnome::Gda::Connection::property_events_history_size" ref="a7dc00e15e564646c59c57dc8d8532226" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy</a>&lt;int&gt; Gnome::Gda::Connection::property_events_history_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a8cc0d8510569fcbe5e6ce8ad502bb07a"></a><!-- doxytag: member="Gnome::Gda::Connection::property_events_history_size" ref="a8cc0d8510569fcbe5e6ce8ad502bb07a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy_ReadOnly</a>&lt;int&gt; Gnome::Gda::Connection::property_events_history_size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="aa4a00abf45de963cc01b9fdce4fede74"></a><!-- doxytag: member="Gnome::Gda::Connection::property_is_wrapper" ref="aa4a00abf45de963cc01b9fdce4fede74" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gnome::Gda::Connection::property_is_wrapper </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells if the connection acts as a thread wrapper around another connection, making it completely thread safe. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ad3ea0127cf61af313c2670d42ef0d254"></a><!-- doxytag: member="Gnome::Gda::Connection::property_meta_store" ref="ad3ea0127cf61af313c2670d42ef0d254" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >MetaStore</a>&gt; &gt; Gnome::Gda::Connection::property_meta_store </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>GdaMetaStore used by the connection. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a32c8eee810263e4128d2f5f9241c30e1"></a><!-- doxytag: member="Gnome::Gda::Connection::property_meta_store" ref="a32c8eee810263e4128d2f5f9241c30e1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >MetaStore</a>&gt; &gt; Gnome::Gda::Connection::property_meta_store </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>GdaMetaStore used by the connection. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a79fc0d6caff981705a38a7c369d1d71e"></a><!-- doxytag: member="Gnome::Gda::Connection::property_monitor_wrapped_in_mainloop" ref="a79fc0d6caff981705a38a7c369d1d71e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy</a>&lt;bool&gt; Gnome::Gda::Connection::property_monitor_wrapped_in_mainloop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make the connection set up a monitoring function in the mainloop to monitor the wrapped connection. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ae6afe0ff69cac5fb08844a098033271c"></a><!-- doxytag: member="Gnome::Gda::Connection::property_monitor_wrapped_in_mainloop" ref="ae6afe0ff69cac5fb08844a098033271c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::PropertyProxy_ReadOnly</a>&lt;bool&gt; Gnome::Gda::Connection::property_monitor_wrapped_in_mainloop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Make the connection set up a monitoring function in the mainloop to monitor the wrapped connection. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a3f07593aa8fa5182600ea3b35000bdb5"></a><!-- doxytag: member="Gnome::Gda::Connection::property_options" ref="a3f07593aa8fa5182600ea3b35000bdb5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ConnectionOptions</a>&gt; Gnome::Gda::Connection::property_options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Options. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="a0eedf62f643c26b298b200cda21d58e4"></a><!-- doxytag: member="Gnome::Gda::Connection::property_options" ref="a0eedf62f643c26b298b200cda21d58e4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ConnectionOptions</a>&gt; Gnome::Gda::Connection::property_options </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Options. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ad27eb4264b6d8ec696459e7c390a01a5"></a><!-- doxytag: member="Gnome::Gda::Connection::property_provider" ref="ad27eb4264b6d8ec696459e7c390a01a5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ServerProvider</a>&gt; &gt; Gnome::Gda::Connection::property_provider </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provider to use. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ad888dae6593a5099a3d34fc29b1db99c"></a><!-- doxytag: member="Gnome::Gda::Connection::property_provider" ref="ad888dae6593a5099a3d34fc29b1db99c" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ServerProvider</a>&gt; &gt; Gnome::Gda::Connection::property_provider </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Provider to use. </p>
<p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes. </dd></dl>

</div>
</div>
<a class="anchor" id="ab61a3e7bc56f16cf43343aaa10437d9c"></a><!-- doxytag: member="Gnome::Gda::Connection::quote_sql_identifier" ref="ab61a3e7bc56f16cf43343aaa10437d9c" args="(const Glib::ustring &amp;id) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::quote_sql_identifier </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Use this method to get a correctly quoted (if necessary) SQL identifier which can be used in SQL statements, from <em>id</em>. </p>
<p>If <em>id</em> is already correctly quoted for <em>cnc</em>, then a copy of <em>id</em> may be returned.</p>
<p>This method may add double quotes (or other characters) around <em>id:</em> &lt;itemizedlist&gt; &lt;listitem&gt;if <em>id</em> is a reserved SQL keyword (such as SELECT, INSERT, ...)&lt;/listitem&gt; &lt;listitem&gt;if <em>id</em> contains non allowed characters such as spaces, or if it starts with a digit&lt;/listitem&gt; &lt;listitem&gt;in any other event as necessary for <em>cnc</em>, depending on the the options passed when opening the <em>cnc</em> connection, and specifically the GDA_CONNECTION_OPTIONS_SQL_IDENTIFIERS_CASE_SENSITIVE option.&lt;/listitem&gt; &lt;/itemizedlist&gt;</p>
<p>One can safely pass an already quoted <em>id</em> to this method, either with quoting characters allowed by <em>cnc</em> or using the double quote (") character.</p>
<p>{4,0}.3 </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>An SQL identifier. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new string, to free with Glib::free() once not needed anymore. </dd></dl>

</div>
</div>
<a class="anchor" id="a9f4d69f483fdeb3619108966424831a8"></a><!-- doxytag: member="Gnome::Gda::Connection::rollback_savepoint" ref="a9f4d69f483fdeb3619108966424831a8" args="(const Glib::ustring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::rollback_savepoint </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rollback all the modifications made after the SAVEPOINT named <em>name</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Name of the savepoint to rollback to. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a59ed219b2bbb07cf482fb8621e9a85f7"></a><!-- doxytag: member="Gnome::Gda::Connection::rollback_transaction" ref="a59ed219b2bbb07cf482fb8621e9a85f7" args="(const Glib::ustring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::rollback_transaction </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Rollbacks the given transaction. </p>
<p>This means that all changes made to the underlying data source since the last call to <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a5d73902533bf1153b7827880600f7dcb" title="Starts a transaction on the data source, identified by the name parameter.">begin_transaction()</a> or <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a8265026cc2654bb2adaf83f7df5251de" title="Commits the given transaction to the backend database.">commit_transaction()</a> will be discarded. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name of the transation to commit, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the operation was successful, <code>false</code> otherwise. </dd></dl>

</div>
</div>
<a class="anchor" id="abe4f40d7f1221dcc265f1d73410d2cfa"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_conn_closed" ref="abe4f40d7f1221dcc265f1d73410d2cfa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_conn_closed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_conn_closed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="ac689f19d946c005a1d518683d4636a11"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_conn_opened" ref="ac689f19d946c005a1d518683d4636a11" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_conn_opened </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_conn_opened()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="aee5935983f4008892677d573b351bae0"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_conn_to_close" ref="aee5935983f4008892677d573b351bae0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_conn_to_close </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_conn_to_close()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="ab31500e098f22ed1920e5a376b6bed9a"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_dsn_changed" ref="ab31500e098f22ed1920e5a376b6bed9a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_dsn_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_dsn_changed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="abf81caacb8eaa3330228ae413773a93e"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_error" ref="abf81caacb8eaa3330228ae413773a93e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >ConnectionEvent</a>&gt;&amp; &gt; Gnome::Gda::Connection::signal_error </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_error(const Glib::RefPtr&lt;ConnectionEvent&gt;&amp; error)</code> </dd></dl>

</div>
</div>
<a class="anchor" id="a9fbbf9b03a67e767e51e048b6c7d9d06"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_transaction_status_changed" ref="a9fbbf9b03a67e767e51e048b6c7d9d06" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_transaction_status_changed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="user"><dt><b>Prototype:</b></dt><dd><code>void on_my_transaction_status_changed()</code> </dd></dl>

</div>
</div>
<a class="anchor" id="af37c928698ef044666772544f8652ec9"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute" ref="af37c928698ef044666772544f8652ec9" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementModelUsage model_usage, Glib::RefPtr&lt; const Set &gt; &amp;last_insert_row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::Object</a>&gt; Gnome::Gda::Connection::statement_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>last_insert_row</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Executes <em>stmt</em>. </p>
<p>As <em>stmt</em> can, by desing (and if not abused), contain only one SQL statement, the return object will either be: &lt;itemizedlist&gt; &lt;listitem&gt;a <a class="el" href="classGnome_1_1Gda_1_1DataSelect.html" title="Data models returned by the execution of a SELECT statement.">Gda::DataSelect</a> object (which is also a <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a>) if <em>stmt</em> is a SELECT statement (usually a GDA_SQL_STATEMENT_SELECT, see <a class="el" href="group__libgdammEnums.html#ga6486682ec362b106fb5ad2807a68b155">Gda::SqlStatementType</a>) containing the results of the SELECT. The resulting data model is by default read only, but modifications can be enabled, see the <a class="el" href="classGnome_1_1Gda_1_1DataSelect.html" title="Data models returned by the execution of a SELECT statement.">Gda::DataSelect</a>'s documentation for more information.&lt;/listitem&gt; &lt;listitem&gt;a <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> for any other SQL statement which correctly executed. In this case (if the provider supports it), then the <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> may contain value holders named: &lt;itemizedlist&gt; &lt;listitem&gt;a (<code>int</code>) <a class="el" href="classGnome_1_1Gda_1_1Holder.html" title="Container for a single Gda::Value.">Gda::Holder</a> named "IMPACTED_ROWS"&lt;/listitem&gt; &lt;listitem&gt;a (GObject) <a class="el" href="classGnome_1_1Gda_1_1Holder.html" title="Container for a single Gda::Value.">Gda::Holder</a> named "EVENT" which contains a <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a>&lt;/listitem&gt; &lt;/itemizedlist&gt;&lt;/listitem&gt; &lt;/itemizedlist&gt;</p>
<p>If <em>last_insert_row</em> is not <code>0</code> and <em>stmt</em> is an INSERT statement, then it will contain (if the provider used by <em>cnc</em> supports it) a new <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object composed of value holders named "+&lt;column number&gt;" starting at column 0 which contain the actual inserted values. For example if a table is composed of an 'id' column which is auto incremented and a 'name' column then the execution of a "INSERT INTO mytable (name) VALUES ('joe')" query will return a <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> with two holders: &lt;itemizedlist&gt; &lt;listitem&gt;one with the '+0' ID which may for example contain 1 (note that its "name" property should be "id")&lt;/listitem&gt; &lt;listitem&gt;one with the '+1' ID which will contain 'joe' (note that its "name" property should be "name")&lt;/listitem&gt; &lt;/itemizedlist&gt;</p>
<p>This method may fail with a Gda::SERVER_PROVIDER_ERROR domain error (see the <a class="el" href="classGnome_1_1Gda_1_1ServerProviderError.html">Gda::ServerProviderError</a> error codes).</p>
<dl class="note"><dt><b>Note:</b></dt><dd>If <em>stmt</em> is a SELECT statement which has some parameters and if is <code>0</code>, then the statement can't be executed and this method will return <code>0</code>.</dd>
<dd>
If <em>stmt</em> is a SELECT statement which has some parameters and if is not <code>0</code> but contains some invalid parameters, then the statement can't be executed and this method will return <code>0</code>, unless the <em>model_usage</em> has the GDA_STATEMENT_MODEL_ALLOW_NOPARAM flag.</dd>
<dd>
If <em>stmt</em> is a SELECT statement which has some parameters and if is not <code>0</code> but contains some invalid parameters and if <em>model_usage</em> has the GDA_STATEMENT_MODEL_ALLOW_NOPARAM flag, then the returned data model will contain no row but will have all the correct columns (even though some of the columns might report as GDA_TYPE_<code>0</code>). In this case, if (after this method call) any of ' parameters change then the resulting data model will re-run itself, see the GdaDataSelect's auto-reset property for more information.</dd>
<dd>
if <em>model_usage</em> does not contain the GDA_STATEMENT_MODEL_RANDOM_ACCESS or GDA_STATEMENT_MODEL_CURSOR_FORWARD flags, then the default will be to return a random access data model</dd>
<dd>
If <em>stmt</em> is a SELECT statement which returns blob values (of type Gda::TYPE_BLOB), then an implicit transaction will have been started by the database provider, and it's up to the caller to close the transaction (which will then be locked) once all the blob ressources have been liberated (when the returned data model is destroyed). See the section about Binary large objects (BLOBs) for more information.</dd></dl>
<p>Also see the provider's limitations, and the Advanced GdaDataSelect usage sections. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> object. </td></tr>
    <tr><td class="paramname">params</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object (which can be obtained using <a class="el" href="classGnome_1_1Gda_1_1Statement.html#a8dad51a8ddb41ae5d1f67b81e777471c" title="Get a new Gda::Set object which groups all the execution parameters which stmt needs.">Gda::Statement::get_parameters()</a>), or <code>0</code>. </td></tr>
    <tr><td class="paramname">model_usage</td><td>In the case where <em>stmt</em> is a SELECT statement, specifies how the returned data model will be used. </td></tr>
    <tr><td class="paramname">last_insert_row</td><td>A place to store a new <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object which contains the values of the last inserted row, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A Object, or <code>0</code> if an error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="aac5202a25f7b4aba9befcebb6e95f1aa"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute" ref="aac5202a25f7b4aba9befcebb6e95f1aa" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, StatementModelUsage model_usage=STATEMENT_MODEL_RANDOM_ACCESS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::Object</a>&gt; Gnome::Gda::Connection::statement_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa81bc8ebbc31b99b74e757f3c266c1e3"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute" ref="aa81bc8ebbc31b99b74e757f3c266c1e3" args="(const Glib::ustring &amp;sql, StatementModelUsage model_usage=STATEMENT_MODEL_RANDOM_ACCESS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::Object</a>&gt; Gnome::Gda::Connection::statement_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6f227e6cd8ccb533f550c166fde71e84"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select" ref="a6f227e6cd8ccb533f550c166fde71e84" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params, Glib::RefPtr&lt; const Set &gt; &amp;last_insert_row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::Connection::statement_execute_non_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>last_insert_row</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Executes a non-selection statement on the given connection. </p>
<p>The gda_execute_non_select_command() method can be easier to use if one prefers to use some SQL directly.</p>
<p>This function returns the number of rows affected by the execution of <em>stmt</em>, or -1 if an error occurred, or -2 if the connection's provider does not return the number of rows affected.</p>
<p>This function is just a convenience function around the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> function. See the documentation of the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> for information about the list of parameters.</p>
<p>See <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> form more information about <em>last_insert_row</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> object. </td></tr>
    <tr><td class="paramname">params</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object (which can be obtained using <a class="el" href="classGnome_1_1Gda_1_1Statement.html#a8dad51a8ddb41ae5d1f67b81e777471c" title="Get a new Gda::Set object which groups all the execution parameters which stmt needs.">Gda::Statement::get_parameters()</a>), or <code>0</code>. </td></tr>
    <tr><td class="paramname">last_insert_row</td><td>A place to store a new <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object which contains the values of the last inserted row, or <code>0</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of rows affected (&gt;=0) or -1 or -2. </dd></dl>

</div>
</div>
<a class="anchor" id="a3094be5d9f79f65ae79c3b2476abdfc1"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select" ref="a3094be5d9f79f65ae79c3b2476abdfc1" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::Connection::statement_execute_non_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adfb196c980f21e886adf620334712ca5"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select" ref="adfb196c980f21e886adf620334712ca5" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::Connection::statement_execute_non_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a90d5386c447f2b29c6b13aa657b190e4"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select" ref="a90d5386c447f2b29c6b13aa657b190e4" args="(const Glib::ustring &amp;sql)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::Connection::statement_execute_non_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>sql</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a6a32a0568c3be8cc5dfeabecca51eb88"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select_builder" ref="a6a32a0568c3be8cc5dfeabecca51eb88" args="(const Glib::RefPtr&lt; const SqlBuilder &gt; &amp;builder)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::Connection::statement_execute_non_select_builder </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >SqlBuilder</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>builder</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8e4746ffb63fdd71d6d9fb725eff08b4"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select_builder" ref="a8e4746ffb63fdd71d6d9fb725eff08b4" args="(const Glib::RefPtr&lt; const SqlBuilder &gt; &amp;builder, const Glib::RefPtr&lt; const Set &gt; &amp;params)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int Gnome::Gda::Connection::statement_execute_non_select_builder </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >SqlBuilder</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>builder</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2940cb7e83054daa66afe1cbc81e0d6d"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="a2940cb7e83054daa66afe1cbc81e0d6d" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementModelUsage model_usage, const std::vector&lt; GType &gt; &amp;col_types)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >std::vector</a>&lt; GType &gt; &amp;&#160;</td>
          <td class="paramname"><em>col_types</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Executes a selection command on the given connection. </p>
<p>This function returns a <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a> resulting from the SELECT statement, or <code>0</code> if an error occurred.</p>
<p>This function is just a convenience function around the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> function.</p>
<p>See the documentation of the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> for information about the list of parameters. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> object. </td></tr>
    <tr><td class="paramname">params</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object (which can be obtained using <a class="el" href="classGnome_1_1Gda_1_1Statement.html#a8dad51a8ddb41ae5d1f67b81e777471c" title="Get a new Gda::Set object which groups all the execution parameters which stmt needs.">Gda::Statement::get_parameters()</a>), or <code>0</code>. </td></tr>
    <tr><td class="paramname">model_usage</td><td>Specifies how the returned data model will be used as a <a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">Gda::StatementModelUsage</a> enum. </td></tr>
    <tr><td class="paramname">col_types</td><td>An array of GType to request each returned <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a>'s column's GType, terminated with the G_TYPE_NONE value. Any value left to 0 will make the database provider determine the real GType. <em>col_types</em> can also be <code>0</code> if no column type is specified. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGnome_1_1Gda_1_1DataModel.html" title="Abstract DataModel (Base class for all DataModels).">Gda::DataModel</a> containing the data returned by the data source, or <code>0</code> if an error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="af2db2facfda8ba5367db9add69187f73"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="af2db2facfda8ba5367db9add69187f73" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, StatementModelUsage model_usage=STATEMENT_MODEL_RANDOM_ACCESS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="af8e4ec503346df2bf06b12df827e83d5"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="af8e4ec503346df2bf06b12df827e83d5" args="(const Glib::ustring &amp;sql, StatementModelUsage model_usage=STATEMENT_MODEL_RANDOM_ACCESS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae2b48333ce1f69503c1c28c0ba57f81c"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="ae2b48333ce1f69503c1c28c0ba57f81c" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementModelUsage model_usage=STATEMENT_MODEL_RANDOM_ACCESS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a55c98d04bc5a21459ecefbdfa4c74d46"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="a55c98d04bc5a21459ecefbdfa4c74d46" args="(const Glib::ustring &amp;sql, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementModelUsage model_usage=STATEMENT_MODEL_RANDOM_ACCESS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>sql</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad7aee0fae667d413c7ccc88f84e06f9b"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select_builder" ref="ad7aee0fae667d413c7ccc88f84e06f9b" args="(const Glib::RefPtr&lt; const SqlBuilder &gt; &amp;stmt, StatementModelUsage model_usage=STATEMENT_MODEL_RANDOM_ACCESS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select_builder </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >SqlBuilder</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afb6aec22a36cdace9e943a23d2ce9f4c"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select_builder" ref="afb6aec22a36cdace9e943a23d2ce9f4c" args="(const Glib::RefPtr&lt; const SqlBuilder &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementModelUsage model_usage=STATEMENT_MODEL_RANDOM_ACCESS)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select_builder </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >SqlBuilder</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#ga73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"><em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8e1e9564b4276863200c7247c08b9bf9"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_prepare" ref="a8e1e9564b4276863200c7247c08b9bf9" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::statement_prepare </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ask the database accessed through the <em>cnc</em> connection to prepare the usage of <em>stmt</em>. </p>
<p>This is only useful if <em>stmt</em> will be used more than once (however some database providers may always prepare statements before executing them).</p>
<p>This function is also useful to make sure <em>stmt</em> is fully understood by the database before actually executing it.</p>
<p>Note however that it is also possible that <a class="el" href="classGnome_1_1Gda_1_1Connection.html#a8e1e9564b4276863200c7247c08b9bf9" title="Ask the database accessed through the cnc connection to prepare the usage of stmt.">statement_prepare()</a> fails when <a class="el" href="classGnome_1_1Gda_1_1Connection.html#af37c928698ef044666772544f8652ec9" title="Executes stmt.">statement_execute()</a> does not fail (this will usually be the case with statements such as &lt;![CDATA["SELECT* FROM ##tablename::string"]]&gt; because database usually don't allow variables to be used in place of a table name). </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> object. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="afb5799c274d0eee018095b78c0ef4273"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_to_sql" ref="afb5799c274d0eee018095b78c0ef4273" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementSqlFlag flags, std::vector&lt; Glib::RefPtr&lt; Holder &gt; &gt; &amp;params_used) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::statement_to_sql </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#gaf9664fcac77f427348868b9502623c1d">StatementSqlFlag</a>&#160;</td>
          <td class="paramname"><em>flags</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef"  >Holder</a> &gt; &gt;&amp;&#160;</td>
          <td class="paramname"><em>params_used</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renders <em>stmt</em> as an SQL statement, adapted to the SQL dialect used by <em>cnc</em>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> object. </td></tr>
    <tr><td class="paramname">params</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Gda::Set</a> object (which can be obtained using <a class="el" href="classGnome_1_1Gda_1_1Statement.html#a8dad51a8ddb41ae5d1f67b81e777471c" title="Get a new Gda::Set object which groups all the execution parameters which stmt needs.">Gda::Statement::get_parameters()</a>), or <code>0</code>. </td></tr>
    <tr><td class="paramname">flags</td><td>SQL rendering flags, as <a class="el" href="group__libgdammEnums.html#gaf9664fcac77f427348868b9502623c1d">Gda::StatementSqlFlag</a> OR'ed values. </td></tr>
    <tr><td class="paramname">params_used</td><td>A place to store the list of individual <a class="el" href="classGnome_1_1Gda_1_1Holder.html" title="Container for a single Gda::Value.">Gda::Holder</a> objects within which have been used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new string, or <code>0</code> if an error occurred. Renders a <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> as a SQL statement string, adapted to the SQL dialect used by the connection.</dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> object. </td></tr>
    <tr><td class="paramname">A</td><td><a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Set</a> object (which can be obtained using <a class="el" href="classGnome_1_1Gda_1_1Statement.html#a8dad51a8ddb41ae5d1f67b81e777471c" title="Get a new Gda::Set object which groups all the execution parameters which stmt needs.">Statement::get_parameters()</a>). </td></tr>
    <tr><td class="paramname">flags</td><td>SQL rendering flags, as StatementSqlFlag OR'ed values </td></tr>
    <tr><td class="paramname">params_used</td><td>A place to store the list of individual <a class="el" href="classGnome_1_1Gda_1_1Holder.html" title="Container for a single Gda::Value.">Holder</a> objects within <em>params</em> which have been used. </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classGnome_1_1Gda_1_1ConnectionError.html" title="Exception class for Gda connection errors.">ConnectionError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac697a5b0cac53ae13dea52c955b44e1b"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_to_sql" ref="ac697a5b0cac53ae13dea52c955b44e1b" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, const Glib::RefPtr&lt; const Set &gt; &amp;params, StatementSqlFlag flags=STATEMENT_SQL_PARAMS_AS_VALUES) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::statement_to_sql </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>params</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#gaf9664fcac77f427348868b9502623c1d">StatementSqlFlag</a>&#160;</td>
          <td class="paramname"><em>flags</em> = <code>STATEMENT_SQL_PARAMS_AS_VALUES</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renders a <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> as a SQL statement string, adapted to the SQL dialect used by the connection. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> object. </td></tr>
    <tr><td class="paramname">A</td><td><a class="el" href="classGnome_1_1Gda_1_1Set.html" title="Container for several values.">Set</a> object (which can be obtained using <a class="el" href="classGnome_1_1Gda_1_1Statement.html#a8dad51a8ddb41ae5d1f67b81e777471c" title="Get a new Gda::Set object which groups all the execution parameters which stmt needs.">Statement::get_parameters()</a>). </td></tr>
    <tr><td class="paramname">flags</td><td>SQL rendering flags, as StatementSqlFlag OR'ed values </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classGnome_1_1Gda_1_1ConnectionError.html" title="Exception class for Gda connection errors.">ConnectionError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a039d426c9241b07525359c9f03203820"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_to_sql" ref="a039d426c9241b07525359c9f03203820" args="(const Glib::RefPtr&lt; const Statement &gt; &amp;stmt, StatementSqlFlag flags=STATEMENT_SQL_PARAMS_AS_VALUES) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::statement_to_sql </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>stmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#gaf9664fcac77f427348868b9502623c1d">StatementSqlFlag</a>&#160;</td>
          <td class="paramname"><em>flags</em> = <code>STATEMENT_SQL_PARAMS_AS_VALUES</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renders a <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> as a SQL statement string, adapted to the SQL dialect used by the connection. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">stmt</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Statement</a> object.. </td></tr>
    <tr><td class="paramname">flags</td><td>SQL rendering flags, as StatementSqlFlag OR'ed values </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classGnome_1_1Gda_1_1ConnectionError.html" title="Exception class for Gda connection errors.">ConnectionError</a></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4c1ee7605e310e250c75c2d7718cf9f9"></a><!-- doxytag: member="Gnome::Gda::Connection::supports_feature" ref="a4c1ee7605e310e250c75c2d7718cf9f9" args="(ConnectionFeature feature) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::supports_feature </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#gaee005a48de360a73b16849b8a3f46b39">ConnectionFeature</a>&#160;</td>
          <td class="paramname"><em>feature</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Asks the underlying provider for if a specific feature is supported. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">feature</td><td>Feature to ask for. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if the provider supports it, <code>false</code> if not. </dd></dl>

</div>
</div>
<a class="anchor" id="a09020e66ecc8268caef2f9c9c352d9cf"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store" ref="a09020e66ecc8268caef2f9c9c352d9cf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::update_meta_store </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the full meta store information. </p>
<p>Note that this may take some time for big databases </p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="a2f2b33ce1d65dc112a035f44b26ff509"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store" ref="a2f2b33ce1d65dc112a035f44b26ff509" args="(const Glib::ustring &amp;id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::update_meta_store </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the meta store information <em>id</em>. </p>
<p>This can speed up the update of the meta store if you only need a specific information </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>An id for the information to update (see <a href="http://library.gnome.org/devel/libgda/unstable/information_schema.html">http://library.gnome.org/devel/libgda/unstable/information_schema.html</a>) </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="ac2f548e7a562af13828f656dfd86e1ea"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store_data_types" ref="ac2f548e7a562af13828f656dfd86e1ea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::update_meta_store_data_types </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the meta store information for the data types. </p>
<p>This can speed up the update of the meta store if you only need the data types.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="af393c812374086b28e9afbce9eb40b85"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store_table" ref="af393c812374086b28e9afbce9eb40b85" args="(const Glib::ustring &amp;table_name, const Glib::ustring &amp;schema_name=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::update_meta_store_table </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>table_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>schema_name</em> = <code><a class="elRef"  >Glib::ustring</a>()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the meta store information for the table named <em>table_name</em>. </p>
<p>This can speed up the update of the meta store if you only need the information for a specific table </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">table_name</td><td>Name of the table where the information is needed </td></tr>
    <tr><td class="paramname">schema_name</td><td>Name of the schema is in, or "" to update all tables with the given name. As with <a class="el" href="classGnome_1_1Gda_1_1Connection.html#ad0e7f53bd8922c8e626bba6a65349e80" title="Update the meta store information for the table names.">update_meta_store_table_names()</a>, specifying a non-empty schema_name speeds up the operation, just not as significantly as with <a class="el" href="classGnome_1_1Gda_1_1Connection.html#ad0e7f53bd8922c8e626bba6a65349e80" title="Update the meta store information for the table names.">update_meta_store_table_names()</a> because the operation itself is already pretty quick. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="ad0e7f53bd8922c8e626bba6a65349e80"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store_table_names" ref="ad0e7f53bd8922c8e626bba6a65349e80" args="(const Glib::ustring &amp;schema_name=Glib::ustring())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::update_meta_store_table_names </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>schema_name</em> = <code><a class="elRef"  >Glib::ustring</a>()</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Update the meta store information for the table names. </p>
<p>This can speed up the update of the meta store if you only need the list of table names.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">schema_name</td><td>Name of the schema whose tables to update, or "" to update all tables. For example, for postgresql this function takes a considerable amount of time when doing this. If you don't need information about internal postgresql tables, then you can speed up the process by only updating the tables for the "public" schema. Unfortunately, schema names are not common between different database systems. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div>
<a class="anchor" id="aead8ac3d7c613740f0d17e477d5fc866"></a><!-- doxytag: member="Gnome::Gda::Connection::update_row_in_table" ref="aead8ac3d7c613740f0d17e477d5fc866" args="(const Glib::ustring &amp;table, const Glib::ustring &amp;condition_column_name, const Value &amp;condition_value, const std::vector&lt; Glib::ustring &gt; &amp;col_names, const std::vector&lt; Value &gt; &amp;values)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gnome::Gda::Connection::update_row_in_table </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>table</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"><em>condition_column_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&amp;&#160;</td>
          <td class="paramname"><em>condition_value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Glib::ustring</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>col_names</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef"  >Value</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>values</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="aa17b47e1de3c25749d4c19cb15e6a0a8"></a><!-- doxytag: member="Gnome::Gda::Connection::value_to_sql_string" ref="aa17b47e1de3c25749d4c19cb15e6a0a8" args="(const Value &amp;from) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Glib::ustring</a> Gnome::Gda::Connection::value_to_sql_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGnome_1_1Gda_1_1Value.html">Value</a>&amp;&#160;</td>
          <td class="paramname"><em>from</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Produces a fully quoted and escaped string from a GValue. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">from</td><td><a class="el" href="classGnome_1_1Gda_1_1Value.html" title="Use value_type() to identify the value type at runtime.">Value</a> to convert from. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Escaped and quoted value or <code>0</code> if not supported. </dd></dl>

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="abe8f9151ea4f6667adbe7d60ffdb5e54"></a><!-- doxytag: member="Gnome::Gda::Connection::wrap" ref="abe8f9151ea4f6667adbe7d60ffdb5e54" args="(GdaConnection *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef"  >Gnome::Gda::Connection</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GdaConnection *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="elRef"  >Glib::wrap()</a> method for this object. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>libgdamm/connection.h</li>
</ul>
</div>


<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 20 2011 22:38:13 for libgdamm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1-20110925
</small></address>

</body>
</html>