Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 8d90331d2ecb84d76208e0114aebc325 > files > 105

lib64gdamm4.0-devel-3.99.17.1-1mdv2010.0.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;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>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <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 class="tabs">
    <ul>
      <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="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespaceGnome.html">Gnome</a>::<a class="el" href="namespaceGnome_1_1Gda.html">Gda</a>::<a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>
  </div>
</div>
<div class="contents">
<h1>Gnome::Gda::Connection Class Reference</h1><!-- doxytag: class="Gnome::Gda::Connection" --><!-- doxytag: inherits="Glib::Object" -->Manages a connection to a data source. <a href="#_details">More...</a>
<p>
Inherits <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>.
<p>
<div class="dynheader">
Collaboration diagram for Gnome::Gda::Connection:</div>
<div class="dynsection">
<p><center><img src="classGnome_1_1Gda_1_1Connection__coll__graph.png" border="0" usemap="#Gnome_1_1Gda_1_1Connection__coll__map" alt="Collaboration graph"></center>
<map name="Gnome_1_1Gda_1_1Connection__coll__map">
<area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="44,155,135,181"><area shape="rect" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="29,80,149,107"><area shape="rect" href="../../../libsigc++-2.0/reference/html/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="36,5,143,32"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classGnome_1_1Gda_1_1Connection-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#73a7c638ef649db9f624ef57344a0b47">~Connection</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaConnection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#5c106b0e292325f5f76530005b4109d0">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#5c106b0e292325f5f76530005b4109d0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const GdaConnection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#7064c0f625fe6ce6a9495e443a232136">gobj</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#7064c0f625fe6ce6a9495e443a232136"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">GdaConnection*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#14cdfa737dd383e2fa3942e10730d9d9">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="#14cdfa737dd383e2fa3942e10730d9d9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#9ca58d34a7f005fd14636ac16d598a10">open</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Tries to open the connection. <a href="#9ca58d34a7f005fd14636ac16d598a10"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#753b238d857bf25c180f474ae0c515fa">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="#753b238d857bf25c180f474ae0c515fa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#546faa9a0a27a5abc93f73da83fd48af">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="#546faa9a0a27a5abc93f73da83fd48af"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#bb76ae2f5eb3d6e693325c7b5367ddd8">get_options</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the <a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">Gda::ConnectionOptions</a> used to open this connection. <a href="#bb76ae2f5eb3d6e693325c7b5367ddd8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#35526db9ce60a7b032acfcf93d89f116">get_dsn</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a8cccc0c9f41252a9a4ba17c926e607b">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="#a8cccc0c9f41252a9a4ba17c926e607b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#6a0b41dcae8cc1c4a5ba640242ea3711">add_event</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a> &gt;&amp; event)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an event to the given connection. <a href="#6a0b41dcae8cc1c4a5ba640242ea3711"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#9e2ca780c1a53709aa26c52caea4e037">add_event_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; str)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a new error to the given connection object. <a href="#9e2ca780c1a53709aa26c52caea4e037"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#b5576f137c9a7c97eb43677719e02071">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="#b5576f137c9a7c97eb43677719e02071"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#6861daf20a8431fd1ad3bf4c948277d4">statement_execute</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; params, <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a> model_usage, <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; last_insert_row)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes <em>stmt</em>. <a href="#6861daf20a8431fd1ad3bf4c948277d4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#fb94305c65c2161ee0e974d9042da9de">statement_execute</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt, <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a81bc8ebbc31b99b74e757f3c266c1e3">statement_execute</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; sql, <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#8b46aa16c1b0e187b04cbef2612155b3">statement_execute_select</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; params)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Executes a selection command on the given connection. <a href="#8b46aa16c1b0e187b04cbef2612155b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#2b2541fef04ca6ad996e850284765029">statement_execute_select</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt, <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#f8e4ec503346df2bf06b12df827e83d5">statement_execute_select</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; sql, <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a> model_usage=STATEMENT_MODEL_RANDOM_ACCESS)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#d0095d0e4eb6dcb77dce3c362322c021">statement_execute_select</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; params, <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a> model_usage, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</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="#d0095d0e4eb6dcb77dce3c362322c021"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#602f3973ca4f314f327010e16cead2e3">statement_execute_non_select</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; params, <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">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="#602f3973ca4f314f327010e16cead2e3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#19c98a0440358c4263ff061b1abce97e">statement_execute_non_select</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; params)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#c1c474cb556e798f07a81e1ead31e2e6">statement_execute_non_select</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#90d5386c447f2b29c6b13aa657b190e4">statement_execute_non_select</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; sql)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <br class="typebreak">
<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#d470d25a56c84a32b26a47c383e976c3">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="#d470d25a56c84a32b26a47c383e976c3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#5d73902533bf1153b7827880600f7dcb">begin_transaction</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name, <a class="el" href="group__libgdammEnums.html#g1f72a0f3687a131db0d845f421819d1f">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="#5d73902533bf1153b7827880600f7dcb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#8265026cc2654bb2adaf83f7df5251de">commit_transaction</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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="#8265026cc2654bb2adaf83f7df5251de"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#59ed219b2bbb07cf482fb8621e9a85f7">rollback_transaction</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; name)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Rollbacks the given transaction. <a href="#59ed219b2bbb07cf482fb8621e9a85f7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#e87b52865a812c8a1c6394af9cb2ab22">add_savepoint</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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="#e87b52865a812c8a1c6394af9cb2ab22"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#9f4d69f483fdeb3619108966424831a8">rollback_savepoint</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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="#9f4d69f483fdeb3619108966424831a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#c02d2d0a92201996a25b228b5b21dfaa">delete_savepoint</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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="#c02d2d0a92201996a25b228b5b21dfaa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
&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#1348b41d9357d837c28b94ce81c8ad66">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="#1348b41d9357d837c28b94ce81c8ad66"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
&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#5f2fd8a2fcb0b3ff4926a57d0fcb3a78">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="#5f2fd8a2fcb0b3ff4926a57d0fcb3a78"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#a17b47e1de3c25749d4c19cb15e6a0a8">value_to_sql_string</a> (const <a class="el" href="classGnome_1_1Gda_1_1Value.html">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="#a17b47e1de3c25749d4c19cb15e6a0a8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#4c1ee7605e310e250c75c2d7718cf9f9">supports_feature</a> (<a class="el" href="group__libgdammEnums.html#gee005a48de360a73b16849b8a3f46b39">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="#4c1ee7605e310e250c75c2d7718cf9f9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#8271ee00b883a1e6418431e3dd31da40">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="#8271ee00b883a1e6418431e3dd31da40"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1SqlParser.html">SqlParser</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#113b664f9e84fa60acec61b336cbea99">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="#113b664f9e84fa60acec61b336cbea99"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#c5273b6f32828ba5a64e3d339a3f68e6">get_provider_name</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the name (identifier) of the database provider used by <em>cnc</em>. <a href="#c5273b6f32828ba5a64e3d339a3f68e6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#09020e66ecc8268caef2f9c9c352d9cf">update_meta_store</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the full meta store information. <a href="#09020e66ecc8268caef2f9c9c352d9cf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#2f2b33ce1d65dc112a035f44b26ff509">update_meta_store</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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="#2f2b33ce1d65dc112a035f44b26ff509"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#f393c812374086b28e9afbce9eb40b85">update_meta_store_table</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; table_name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; schema_name=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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="#f393c812374086b28e9afbce9eb40b85"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#d0e7f53bd8922c8e626bba6a65349e80">update_meta_store_table_names</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; schema_name=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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="#d0e7f53bd8922c8e626bba6a65349e80"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#c2f548e7a562af13828f656dfd86e1ea">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="#c2f548e7a562af13828f656dfd86e1ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#62fac1d8a7764ab7b38fcd081884e606">statement_prepare</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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="#62fac1d8a7764ab7b38fcd081884e606"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#13acb536acbb21a7b35c7f653251efbf">get_meta_store_data</a> (<a class="el" href="group__libgdammEnums.html#g52016530a0be015cb6f6c2e459fbac11">ConnectionMetaType</a> meta_type, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Holder.html">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="#13acb536acbb21a7b35c7f653251efbf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#b55ddcd3088139257be2d3b6ec0553a6">get_meta_store_data</a> (<a class="el" href="group__libgdammEnums.html#g52016530a0be015cb6f6c2e459fbac11">ConnectionMetaType</a> meta_type)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html">MetaStore</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#89f4db667dc0f1f29ba91fbcbd177a3f">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="#89f4db667dc0f1f29ba91fbcbd177a3f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html">MetaStore</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#54d6513b8603c9339015dd8c1e441254">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="#54d6513b8603c9339015dd8c1e441254"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#fc62ba716dc39fdd32c5abfbe9d476ef">batch_execute</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Batch.html">Batch</a> &gt;&amp; batch, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; params, <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">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. <a href="#fc62ba716dc39fdd32c5abfbe9d476ef"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#c5e80f3846932fb6634764def9ac39fc">create_operation</a> (<a class="el" href="group__libgdammEnums.html#g0837bde71f4fee1ea3f06a0c22a04d68">ServerOperationType</a> type, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">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="#c5e80f3846932fb6634764def9ac39fc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#c9a38631f125afd7a14ff03e3496d19d">perform_operation</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">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#c5e80f3846932fb6634764def9ac39fc" title="Creates a new Gda::ServerOperation object which can be modified in order to perform...">create_operation()</a>). <a href="#c9a38631f125afd7a14ff03e3496d19d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <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#d991889f9c0905beca94eb0136d1102a">get_provider</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get 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="#d991889f9c0905beca94eb0136d1102a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; const <br class="typebreak">
<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#ddeba179f949a77bf3ec973000458f0a">get_provider</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get 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="#ddeba179f949a77bf3ec973000458f0a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#8de09236d4d6e6d756e9b9599622676d">statement_to_sql</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp; stmt, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp; params, <a class="el" href="group__libgdammEnums.html#gf9664fcac77f427348868b9502623c1d">StatementSqlFlag</a> flags, <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00448.html">std::list</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Holder.html">Holder</a> &gt; &gt;&amp; params_used)</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="#8de09236d4d6e6d756e9b9599622676d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void, <br class="typebreak">
const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
&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#bf81caacb8eaa3330228ae413773a93e">signal_error</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#c689f19d946c005a1d518683d4636a11">signal_conn_opened</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ee5935983f4008892677d573b351bae0">signal_conn_to_close</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#be4f40d7f1221dcc265f1d73410d2cfa">signal_conn_closed</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#b31500e098f22ed1920e5a376b6bed9a">signal_dsn_changed</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#9fbbf9b03a67e767e51e048b6c7d9d06">signal_transaction_status_changed</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#952a2e8b59a0ed6777e36235db8ea508">property_auth_string</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Authentication string to use. <a href="#952a2e8b59a0ed6777e36235db8ea508"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#17814c31bab2fbcd9b8ea6993cdcd8c3">property_auth_string</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Authentication string to use. <a href="#17814c31bab2fbcd9b8ea6993cdcd8c3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#47e2c6be18d2dffeaaf2791f0b1ce3d3">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="#47e2c6be18d2dffeaaf2791f0b1ce3d3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#f36873ccc51e5a44bfa3aa145c0d3619">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="#f36873ccc51e5a44bfa3aa145c0d3619"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#aab020bd1906443f0d39598adfaabe87">property_dsn</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">DSN to use. <a href="#aab020bd1906443f0d39598adfaabe87"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#31db60b160347a272d8f764454356db8">property_dsn</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">DSN to use. <a href="#31db60b160347a272d8f764454356db8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html">MetaStore</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#d3ea0127cf61af313c2670d42ef0d254">property_meta_store</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">GdaMetaStore used by the connection. <a href="#d3ea0127cf61af313c2670d42ef0d254"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html">MetaStore</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#32c8eee810263e4128d2f5f9241c30e1">property_meta_store</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">GdaMetaStore used by the connection. <a href="#32c8eee810263e4128d2f5f9241c30e1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a><br class="typebreak">
&lt; <a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#3f07593aa8fa5182600ea3b35000bdb5">property_options</a> ()</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Options (connection sharing). <a href="#3f07593aa8fa5182600ea3b35000bdb5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak">
&lt; <a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#0eedf62f643c26b298b200cda21d58e4">property_options</a> () const </td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Options (connection sharing). <a href="#0eedf62f643c26b298b200cda21d58e4"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#87e3e35420dd6b2992fd00f224582d16">create</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#acac9c7b117bc67729cfeecf8947f04d">open_from_string</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; provider_name, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; cnc_string, const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&amp; auth_string=<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>(), <a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">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="#acac9c7b117bc67729cfeecf8947f04d"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#2ff5f4a61eb9eca1df238f1deb222cc2">Connection</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#0dae4b40dd4afd2df0286df982dfa864">on_error</a> (const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a> &gt;&amp; error)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#36b6be65dfa0340681d401d918170469">on_conn_opened</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#ac946602f8cf3486d6dabc7a202aecc1">on_conn_to_close</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#637d5304a7bf1382c1de04965d88f88d">on_conn_closed</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#e1d2129ff3cd78d4458bfa2c0c7592e4">on_dsn_changed</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGnome_1_1Gda_1_1Connection.html#1356430c438f636cd6944e9a3e06202b">on_transaction_status_changed</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak">
&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#be8f9151ea4f6667adbe7d60ffdb5e54">wrap</a> (GdaConnection* object, bool take_copy=false)</td></tr>

<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#be8f9151ea4f6667adbe7d60ffdb5e54"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Manages a connection to a data source. <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>
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. <hr><h2>Constructor&amp; Destructor Documentation</h2>
<a class="anchor" name="73a7c638ef649db9f624ef57344a0b47"></a><!-- doxytag: member="Gnome::Gda::Connection::~Connection" ref="73a7c638ef649db9f624ef57344a0b47" 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>&#160;)&#160;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="2ff5f4a61eb9eca1df238f1deb222cc2"></a><!-- doxytag: member="Gnome::Gda::Connection::Connection" ref="2ff5f4a61eb9eca1df238f1deb222cc2" 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>&#160;)&#160;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6a0b41dcae8cc1c4a5ba640242ea3711"></a><!-- doxytag: member="Gnome::Gda::Connection::add_event" ref="6a0b41dcae8cc1c4a5ba640242ea3711" args="(const Glib::RefPtr&lt; ConnectionEvent &gt; &amp;event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gnome::Gda::Connection::add_event </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>event</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds an event to the given connection. <p>
This function is usually called by providers, to inform clients of events that happened during some operation.<p>
As soon as a provider (or a client, it does not matter) calls this function with an <em>event</em> object which is an error, the connection object emits the "error" signal, to which clients can connect to be informed of events.<p>
WARNING: the reference to the <em>event</em> object is stolen by this function! <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>event</em>&#160;</td><td>Is stored internally, so you don't need to unref it. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="9e2ca780c1a53709aa26c52caea4e037"></a><!-- doxytag: member="Gnome::Gda::Connection::add_event_string" ref="9e2ca780c1a53709aa26c52caea4e037" args="(const Glib::ustring &amp;str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a>&gt; Gnome::Gda::Connection::add_event_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>str</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds a new error to the given connection object. <p>
This is just a convenience function that simply creates a <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a> and then calls gda_server_connection_add_error. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>str</em>&#160;</td><td>A format string (see the printf(3) documentation). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>Varargs</em>&#160;</td><td>The arguments to insert in the error message. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html" title="Any event which has occurred on a Gda::Connection.">Gda::ConnectionEvent</a> object, however the caller does not hold a reference to the returned object, and if need be the caller must call Glib::object_ref() on it. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e87b52865a812c8a1c6394af9cb2ab22"></a><!-- doxytag: member="Gnome::Gda::Connection::add_savepoint" ref="e87b52865a812c8a1c6394af9cb2ab22" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Adds a SAVEPOINT named <em>name</em>. <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>Name of the savepoint to add. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="fc62ba716dc39fdd32c5abfbe9d476ef"></a><!-- doxytag: member="Gnome::Gda::Connection::batch_execute" ref="fc62ba716dc39fdd32c5abfbe9d476ef" args="(const Glib::RefPtr&lt; Batch &gt; &amp;batch, const Glib::RefPtr&lt; Set &gt; &amp;params, StatementModelUsage model_usage)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SListHandle.html">Glib::SListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>&gt; &gt; Gnome::Gda::Connection::batch_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Batch.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">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#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"> <em>model_usage</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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. <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>batch</em>&#160;</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 valign="top"></td><td valign="top"><em>params</em>&#160;</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#e8236fc74733e881e94b50340638a768" 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 valign="top"></td><td valign="top"><em>model_usage</em>&#160;</td><td>Specifies how the returned data model(s) will be used, as a <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">Gda::StatementModelUsage</a> enum. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A list of Object objects. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5d73902533bf1153b7827880600f7dcb"></a><!-- doxytag: member="Gnome::Gda::Connection::begin_transaction" ref="5d73902533bf1153b7827880600f7dcb" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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#g1f72a0f3687a131db0d845f421819d1f">TransactionIsolation</a>&#160;</td>
          <td class="paramname"> <em>level</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
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#4c1ee7605e310e250c75c2d7718cf9f9" title="Asks the underlying provider for if a specific feature is supported.">supports_feature()</a> function. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>The name of the transation to start, or <code>0</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the transaction was started successfully, <code>false</code> otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="b5576f137c9a7c97eb43677719e02071"></a><!-- doxytag: member="Gnome::Gda::Connection::clear_events_list" ref="b5576f137c9a7c97eb43677719e02071" 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>&#160;)&#160;</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><p>
<a class="anchor" name="753b238d857bf25c180f474ae0c515fa"></a><!-- doxytag: member="Gnome::Gda::Connection::close" ref="753b238d857bf25c180f474ae0c515fa" 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>&#160;)&#160;</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><p>
<a class="anchor" name="8265026cc2654bb2adaf83f7df5251de"></a><!-- doxytag: member="Gnome::Gda::Connection::commit_transaction" ref="8265026cc2654bb2adaf83f7df5251de" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Commits the given transaction to the backend database. <p>
You need to call <a class="el" href="classGnome_1_1Gda_1_1Connection.html#5d73902533bf1153b7827880600f7dcb" title="Starts a transaction on the data source, identified by the name parameter.">begin_transaction()</a> first. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>The name of the transation to commit, or <code>0</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the transaction was finished successfully, <code>false</code> otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="87e3e35420dd6b2992fd00f224582d16"></a><!-- doxytag: member="Gnome::Gda::Connection::create" ref="87e3e35420dd6b2992fd00f224582d16" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>&gt; Gnome::Gda::Connection::create </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c5e80f3846932fb6634764def9ac39fc"></a><!-- doxytag: member="Gnome::Gda::Connection::create_operation" ref="c5e80f3846932fb6634764def9ac39fc" args="(ServerOperationType type, const Glib::RefPtr&lt; Set &gt; &amp;options)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a>&gt; Gnome::Gda::Connection::create_operation </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#g0837bde71f4fee1ea3f06a0c22a04d68">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>options</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
It is a wrapper around the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#90b2a3f982289e55ce65dfd04fe125d0" title="Creates a new Gda::ServerOperation object which can be modified in order to perform...">Gda::ServerProvider::create_operation()</a> method. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&#160;</td><td>The type of operation requested. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&#160;</td><td>An optional list of parameters. </td></tr>
  </table>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="113b664f9e84fa60acec61b336cbea99"></a><!-- doxytag: member="Gnome::Gda::Connection::create_parser" ref="113b664f9e84fa60acec61b336cbea99" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1SqlParser.html">SqlParser</a>&gt; Gnome::Gda::Connection::create_parser </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</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>
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(). <dl class="return" compact><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><p>
<a class="anchor" name="c02d2d0a92201996a25b228b5b21dfaa"></a><!-- doxytag: member="Gnome::Gda::Connection::delete_savepoint" ref="c02d2d0a92201996a25b228b5b21dfaa" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Delete the SAVEPOINT named <em>name</em> when not used anymore. <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>Name of the savepoint to delete. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8271ee00b883a1e6418431e3dd31da40"></a><!-- doxytag: member="Gnome::Gda::Connection::get_authentication" ref="8271ee00b883a1e6418431e3dd31da40" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::Connection::get_authentication </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="a8cccc0c9f41252a9a4ba17c926e607b"></a><!-- doxytag: member="Gnome::Gda::Connection::get_cnc_string" ref="a8cccc0c9f41252a9a4ba17c926e607b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::Connection::get_cnc_string </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the connection string used to open this connection. <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. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The connection string used when opening the connection. </dd></dl>

</div>
</div><p>
<a class="anchor" name="35526db9ce60a7b032acfcf93d89f116"></a><!-- doxytag: member="Gnome::Gda::Connection::get_dsn" ref="35526db9ce60a7b032acfcf93d89f116" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::Connection::get_dsn </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The data source name the connection object is connected to. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5f2fd8a2fcb0b3ff4926a57d0fcb3a78"></a><!-- doxytag: member="Gnome::Gda::Connection::get_events" ref="5f2fd8a2fcb0b3ff4926a57d0fcb3a78" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a>&gt; &gt; Gnome::Gda::Connection::get_events </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves a list of the last errors occurred during the connection. <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>
Warning: the <em>cnc</em> object may change the list if connection events occur <dl class="return" compact><dt><b>Returns:</b></dt><dd>A GList 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><p>
<a class="anchor" name="1348b41d9357d837c28b94ce81c8ad66"></a><!-- doxytag: member="Gnome::Gda::Connection::get_events" ref="1348b41d9357d837c28b94ce81c8ad66" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a>&gt; &gt; Gnome::Gda::Connection::get_events </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieves a list of the last errors occurred during the connection. <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>
Warning: the <em>cnc</em> object may change the list if connection events occur <dl class="return" compact><dt><b>Returns:</b></dt><dd>A GList 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><p>
<a class="anchor" name="54d6513b8603c9339015dd8c1e441254"></a><!-- doxytag: member="Gnome::Gda::Connection::get_meta_store" ref="54d6513b8603c9339015dd8c1e441254" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1MetaStore.html">MetaStore</a>&gt; Gnome::Gda::Connection::get_meta_store </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</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" compact><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><p>
<a class="anchor" name="89f4db667dc0f1f29ba91fbcbd177a3f"></a><!-- doxytag: member="Gnome::Gda::Connection::get_meta_store" ref="89f4db667dc0f1f29ba91fbcbd177a3f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1MetaStore.html">MetaStore</a>&gt; Gnome::Gda::Connection::get_meta_store </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</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" compact><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><p>
<a class="anchor" name="b55ddcd3088139257be2d3b6ec0553a6"></a><!-- doxytag: member="Gnome::Gda::Connection::get_meta_store_data" ref="b55ddcd3088139257be2d3b6ec0553a6" args="(ConnectionMetaType meta_type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a>&gt; Gnome::Gda::Connection::get_meta_store_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#g52016530a0be015cb6f6c2e459fbac11">ConnectionMetaType</a>&#160;</td>
          <td class="paramname"> <em>meta_type</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="13acb536acbb21a7b35c7f653251efbf"></a><!-- doxytag: member="Gnome::Gda::Connection::get_meta_store_data" ref="13acb536acbb21a7b35c7f653251efbf" args="(ConnectionMetaType meta_type, const Glib::ListHandle&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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a>&gt; Gnome::Gda::Connection::get_meta_store_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#g52016530a0be015cb6f6c2e459fbac11">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ListHandle.html">Glib::ListHandle</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Holder.html">Holder</a> &gt; &gt;&amp;&#160;</td>
          <td class="paramname"> <em>filters</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
see gda_connection_get_meta_store_data <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>meta_type</em>&#160;</td><td>Describes which data to get. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>filters</em>&#160;</td><td>A GList of GdaHolders. </td></tr>
  </table>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="bb76ae2f5eb3d6e693325c7b5367ddd8"></a><!-- doxytag: member="Gnome::Gda::Connection::get_options" ref="bb76ae2f5eb3d6e693325c7b5367ddd8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a> Gnome::Gda::Connection::get_options </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="ddeba179f949a77bf3ec973000458f0a"></a><!-- doxytag: member="Gnome::Gda::Connection::get_provider" ref="ddeba179f949a77bf3ec973000458f0a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html">ServerProvider</a>&gt; Gnome::Gda::Connection::get_provider </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get 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" compact><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><p>
<a class="anchor" name="d991889f9c0905beca94eb0136d1102a"></a><!-- doxytag: member="Gnome::Gda::Connection::get_provider" ref="d991889f9c0905beca94eb0136d1102a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html">ServerProvider</a>&gt; Gnome::Gda::Connection::get_provider </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get 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" compact><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><p>
<a class="anchor" name="c5273b6f32828ba5a64e3d339a3f68e6"></a><!-- doxytag: member="Gnome::Gda::Connection::get_provider_name" ref="c5273b6f32828ba5a64e3d339a3f68e6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::Connection::get_provider_name </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="d470d25a56c84a32b26a47c383e976c3"></a><!-- doxytag: member="Gnome::Gda::Connection::get_transaction_status" ref="d470d25a56c84a32b26a47c383e976c3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;const <a class="el" href="classGnome_1_1Gda_1_1TransactionStatus.html">TransactionStatus</a>&gt; Gnome::Gda::Connection::get_transaction_status </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the status of <em>cnc</em> regarding transactions. <p>
The returned object should not be modified or destroyed; however it may be modified or destroyed by the connection itself.<p>
If <code>0</code> is returned, then no transaction has been associated with <em>cnc</em> <dl class="return" compact><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><p>
<a class="anchor" name="7064c0f625fe6ce6a9495e443a232136"></a><!-- doxytag: member="Gnome::Gda::Connection::gobj" ref="7064c0f625fe6ce6a9495e443a232136" 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>&#160;)&#160;</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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>

</div>
</div><p>
<a class="anchor" name="5c106b0e292325f5f76530005b4109d0"></a><!-- doxytag: member="Gnome::Gda::Connection::gobj" ref="5c106b0e292325f5f76530005b4109d0" 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>&#160;)&#160;</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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ObjectBase.html#4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>

</div>
</div><p>
<a class="anchor" name="14cdfa737dd383e2fa3942e10730d9d9"></a><!-- doxytag: member="Gnome::Gda::Connection::gobj_copy" ref="14cdfa737dd383e2fa3942e10730d9d9" 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>&#160;)&#160;</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><p>
<a class="anchor" name="546faa9a0a27a5abc93f73da83fd48af"></a><!-- doxytag: member="Gnome::Gda::Connection::is_opened" ref="546faa9a0a27a5abc93f73da83fd48af" 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>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Checks whether a connection is open or not. <p>
<dl class="return" compact><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><p>
<a class="anchor" name="637d5304a7bf1382c1de04965d88f88d"></a><!-- doxytag: member="Gnome::Gda::Connection::on_conn_closed" ref="637d5304a7bf1382c1de04965d88f88d" 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>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="36b6be65dfa0340681d401d918170469"></a><!-- doxytag: member="Gnome::Gda::Connection::on_conn_opened" ref="36b6be65dfa0340681d401d918170469" 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>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ac946602f8cf3486d6dabc7a202aecc1"></a><!-- doxytag: member="Gnome::Gda::Connection::on_conn_to_close" ref="ac946602f8cf3486d6dabc7a202aecc1" 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>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="e1d2129ff3cd78d4458bfa2c0c7592e4"></a><!-- doxytag: member="Gnome::Gda::Connection::on_dsn_changed" ref="e1d2129ff3cd78d4458bfa2c0c7592e4" 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>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="0dae4b40dd4afd2df0286df982dfa864"></a><!-- doxytag: member="Gnome::Gda::Connection::on_error" ref="0dae4b40dd4afd2df0286df982dfa864" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>error</em> </td>
          <td>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="1356430c438f636cd6944e9a3e06202b"></a><!-- doxytag: member="Gnome::Gda::Connection::on_transaction_status_changed" ref="1356430c438f636cd6944e9a3e06202b" 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>&#160;)&#160;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="9ca58d34a7f005fd14636ac16d598a10"></a><!-- doxytag: member="Gnome::Gda::Connection::open" ref="9ca58d34a7f005fd14636ac16d598a10" 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>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="acac9c7b117bc67729cfeecf8947f04d"></a><!-- doxytag: member="Gnome::Gda::Connection::open_from_string" ref="acac9c7b117bc67729cfeecf8947f04d" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1Connection.html">Connection</a>&gt; Gnome::Gda::Connection::open_from_string </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>auth_string</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a>&#160;</td>
          <td class="paramname"> <em>options</em> = <code>CONNECTION_OPTIONS_NONE</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
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;=&lt;value&gt; pairs, where each key and value are encoded as per RFC 1738, see gda_rfc1738_encode() for more information.<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>
For example the connection string to open an SQLite connection to a database file named "my_data.db" in the current directory would be &lt;constant&gt;"DB_DIR=.;DB_NAME=my_data"&lt;/constant&gt;.<p>
The <em>cnc_string</em> string must have the following format: "[&amp;lt;provider&amp;gt;://][&amp;lt;username&amp;gt;[:&amp;lt;password&amp;gt;]@]&amp;lt;connection_params&amp;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>
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>
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>
Additionally, it is possible to have the connection string respect the "&amp;lt;provider_name&amp;gt;://&amp;lt;real cnc string&amp;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). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>provider_name</em>&#160;</td><td>Provider ID to connect to, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cnc_string</em>&#160;</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 valign="top"></td><td valign="top"><em>auth_string</em>&#160;</td><td>Authentication string, or <code>0</code>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>options</em>&#160;</td><td>Options for the connection (see <a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">Gda::ConnectionOptions</a>). </td></tr>
  </table>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="c9a38631f125afd7a14ff03e3496d19d"></a><!-- doxytag: member="Gnome::Gda::Connection::perform_operation" ref="c9a38631f125afd7a14ff03e3496d19d" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1ServerOperation.html">ServerOperation</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>op</em> </td>
          <td>&#160;)&#160;</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#c5e80f3846932fb6634764def9ac39fc" title="Creates a new Gda::ServerOperation object which can be modified in order to perform...">create_operation()</a>). <p>
It is a wrapper around the <a class="el" href="classGnome_1_1Gda_1_1ServerProvider.html#ae525130d168a277ef8c0afffbf58e89" title="Performs the operation described by op.">Gda::ServerProvider::perform_operation()</a> method. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>op</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="17814c31bab2fbcd9b8ea6993cdcd8c3"></a><!-- doxytag: member="Gnome::Gda::Connection::property_auth_string" ref="17814c31bab2fbcd9b8ea6993cdcd8c3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gnome::Gda::Connection::property_auth_string </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Authentication string to use. <p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="952a2e8b59a0ed6777e36235db8ea508"></a><!-- doxytag: member="Gnome::Gda::Connection::property_auth_string" ref="952a2e8b59a0ed6777e36235db8ea508" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gnome::Gda::Connection::property_auth_string </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Authentication string to use. <p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="f36873ccc51e5a44bfa3aa145c0d3619"></a><!-- doxytag: member="Gnome::Gda::Connection::property_cnc_string" ref="f36873ccc51e5a44bfa3aa145c0d3619" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gnome::Gda::Connection::property_cnc_string </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</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>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="47e2c6be18d2dffeaaf2791f0b1ce3d3"></a><!-- doxytag: member="Gnome::Gda::Connection::property_cnc_string" ref="47e2c6be18d2dffeaaf2791f0b1ce3d3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gnome::Gda::Connection::property_cnc_string </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</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>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="31db60b160347a272d8f764454356db8"></a><!-- doxytag: member="Gnome::Gda::Connection::property_dsn" ref="31db60b160347a272d8f764454356db8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gnome::Gda::Connection::property_dsn </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
DSN to use. <p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="aab020bd1906443f0d39598adfaabe87"></a><!-- doxytag: member="Gnome::Gda::Connection::property_dsn" ref="aab020bd1906443f0d39598adfaabe87" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>&gt; Gnome::Gda::Connection::property_dsn </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
DSN to use. <p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="32c8eee810263e4128d2f5f9241c30e1"></a><!-- doxytag: member="Gnome::Gda::Connection::property_meta_store" ref="32c8eee810263e4128d2f5f9241c30e1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1MetaStore.html">MetaStore</a>&gt; &gt; Gnome::Gda::Connection::property_meta_store </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
GdaMetaStore used by the connection. <p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="d3ea0127cf61af313c2670d42ef0d254"></a><!-- doxytag: member="Gnome::Gda::Connection::property_meta_store" ref="d3ea0127cf61af313c2670d42ef0d254" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1MetaStore.html">MetaStore</a>&gt; &gt; Gnome::Gda::Connection::property_meta_store </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
GdaMetaStore used by the connection. <p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="0eedf62f643c26b298b200cda21d58e4"></a><!-- doxytag: member="Gnome::Gda::Connection::property_options" ref="0eedf62f643c26b298b200cda21d58e4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>&lt;<a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a>&gt; Gnome::Gda::Connection::property_options </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Options (connection sharing). <p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="3f07593aa8fa5182600ea3b35000bdb5"></a><!-- doxytag: member="Gnome::Gda::Connection::property_options" ref="3f07593aa8fa5182600ea3b35000bdb5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>&lt;<a class="el" href="group__libgdammEnums.html#g433252f971f9fd95a92c16b62f9a8f37">ConnectionOptions</a>&gt; Gnome::Gda::Connection::property_options </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Options (connection sharing). <p>
You rarely need to use properties because there are get_ and set_ methods for almost all of them. <dl class="return" compact><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><p>
<a class="anchor" name="9f4d69f483fdeb3619108966424831a8"></a><!-- doxytag: member="Gnome::Gda::Connection::rollback_savepoint" ref="9f4d69f483fdeb3619108966424831a8" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Rollback all the modifications made after the SAVEPOINT named <em>name</em>. <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>Name of the savepoint to rollback to. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="59ed219b2bbb07cf482fb8621e9a85f7"></a><!-- doxytag: member="Gnome::Gda::Connection::rollback_transaction" ref="59ed219b2bbb07cf482fb8621e9a85f7" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>name</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Rollbacks the given transaction. <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#5d73902533bf1153b7827880600f7dcb" 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#8265026cc2654bb2adaf83f7df5251de" title="Commits the given transaction to the backend database.">commit_transaction()</a> will be discarded. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&#160;</td><td>The name of the transation to commit, or <code>0</code>. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the operation was successful, <code>false</code> otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="be4f40d7f1221dcc265f1d73410d2cfa"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_conn_closed" ref="be4f40d7f1221dcc265f1d73410d2cfa" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_conn_closed </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_conn_closed()</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="c689f19d946c005a1d518683d4636a11"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_conn_opened" ref="c689f19d946c005a1d518683d4636a11" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_conn_opened </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_conn_opened()</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="ee5935983f4008892677d573b351bae0"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_conn_to_close" ref="ee5935983f4008892677d573b351bae0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_conn_to_close </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_conn_to_close()</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="b31500e098f22ed1920e5a376b6bed9a"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_dsn_changed" ref="b31500e098f22ed1920e5a376b6bed9a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_dsn_changed </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_dsn_changed()</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="bf81caacb8eaa3330228ae413773a93e"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_error" ref="bf81caacb8eaa3330228ae413773a93e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>&lt; void,const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1ConnectionEvent.html">ConnectionEvent</a>&gt;&amp; &gt; Gnome::Gda::Connection::signal_error </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_error(const Glib::RefPtr&lt;ConnectionEvent&gt;&amp; error)</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="9fbbf9b03a67e767e51e048b6c7d9d06"></a><!-- doxytag: member="Gnome::Gda::Connection::signal_transaction_status_changed" ref="9fbbf9b03a67e767e51e048b6c7d9d06" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1SignalProxy0.html">Glib::SignalProxy0</a>&lt; void &gt; Gnome::Gda::Connection::signal_transaction_status_changed </td>
          <td>(</td>
          <td class="paramname"> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void on_my_transaction_status_changed()</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="a81bc8ebbc31b99b74e757f3c266c1e3"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute" ref="a81bc8ebbc31b99b74e757f3c266c1e3" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>&gt; Gnome::Gda::Connection::statement_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"> <em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="fb94305c65c2161ee0e974d9042da9de"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute" ref="fb94305c65c2161ee0e974d9042da9de" args="(const Glib::RefPtr&lt; 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>&gt; Gnome::Gda::Connection::statement_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"> <em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="6861daf20a8431fd1ad3bf4c948277d4"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute" ref="6861daf20a8431fd1ad3bf4c948277d4" args="(const Glib::RefPtr&lt; Statement &gt; &amp;stmt, const Glib::RefPtr&lt; Set &gt; &amp;params, StatementModelUsage model_usage, Glib::RefPtr&lt; Set &gt; &amp;last_insert_row)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1Object.html">Glib::Object</a>&gt; Gnome::Gda::Connection::statement_execute </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">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#g73690b4a0fc5d2eb132fa649b6db91b4">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>last_insert_row</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Executes <em>stmt</em>. <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#g6486682ec362b106fb5ad2807a68b155">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>
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 "+&amp; lt;column number&amp; 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>
<dl class="note" compact><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>.<p>
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.<p>
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.<p>
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></dl>
Also see the provider's limitations, and the Advanced GdaDataSelect usage sections. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stmt</em>&#160;</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 valign="top"></td><td valign="top"><em>params</em>&#160;</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#8dad51a8ddb41ae5d1f67b81e777471c" 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 valign="top"></td><td valign="top"><em>model_usage</em>&#160;</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 valign="top"></td><td valign="top"><em>last_insert_row</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A Object, or <code>0</code> if an error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="90d5386c447f2b29c6b13aa657b190e4"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select" ref="90d5386c447f2b29c6b13aa657b190e4" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>sql</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="c1c474cb556e798f07a81e1ead31e2e6"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select" ref="c1c474cb556e798f07a81e1ead31e2e6" args="(const Glib::RefPtr&lt; 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>stmt</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="19c98a0440358c4263ff061b1abce97e"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select" ref="19c98a0440358c4263ff061b1abce97e" args="(const Glib::RefPtr&lt; Statement &gt; &amp;stmt, const Glib::RefPtr&lt; 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>params</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="602f3973ca4f314f327010e16cead2e3"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_non_select" ref="602f3973ca4f314f327010e16cead2e3" args="(const Glib::RefPtr&lt; Statement &gt; &amp;stmt, const Glib::RefPtr&lt; Set &gt; &amp;params, Glib::RefPtr&lt; 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>last_insert_row</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
The gda_execute_non_select_command() method can be easier to use if one prefers to use some SQL directly.<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>
This function is just a convenience function around the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#6861daf20a8431fd1ad3bf4c948277d4" title="Executes stmt.">statement_execute()</a> function. See the documentation of the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#6861daf20a8431fd1ad3bf4c948277d4" title="Executes stmt.">statement_execute()</a> for information about the list of parameters.<p>
See <a class="el" href="classGnome_1_1Gda_1_1Connection.html#6861daf20a8431fd1ad3bf4c948277d4" title="Executes stmt.">statement_execute()</a> form more information about <em>last_insert_row</em>. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stmt</em>&#160;</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 valign="top"></td><td valign="top"><em>params</em>&#160;</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#8dad51a8ddb41ae5d1f67b81e777471c" 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 valign="top"></td><td valign="top"><em>last_insert_row</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of rows affected (&gt;=0) or -1 or -2. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d0095d0e4eb6dcb77dce3c362322c021"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="d0095d0e4eb6dcb77dce3c362322c021" args="(const Glib::RefPtr&lt; Statement &gt; &amp;stmt, const Glib::RefPtr&lt; Set &gt; &amp;params, StatementModelUsage model_usage, const Glib::ArrayHandle&lt; GType &gt; &amp;col_types)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">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#g73690b4a0fc5d2eb132fa649b6db91b4">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>&lt; GType &gt; &amp;&#160;</td>
          <td class="paramname"> <em>col_types</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Executes a selection command on the given connection. <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>
This function is just a convenience function around the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#6861daf20a8431fd1ad3bf4c948277d4" title="Executes stmt.">statement_execute()</a> function.<p>
See the documentation of the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#6861daf20a8431fd1ad3bf4c948277d4" title="Executes stmt.">statement_execute()</a> for information about the list of parameters. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stmt</em>&#160;</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 valign="top"></td><td valign="top"><em>params</em>&#160;</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#8dad51a8ddb41ae5d1f67b81e777471c" 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 valign="top"></td><td valign="top"><em>model_usage</em>&#160;</td><td>Specifies how the returned data model will be used as a <a class="el" href="group__libgdammEnums.html#g73690b4a0fc5d2eb132fa649b6db91b4">Gda::StatementModelUsage</a> enum. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>col_types</em>&#160;</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>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="f8e4ec503346df2bf06b12df827e83d5"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="f8e4ec503346df2bf06b12df827e83d5" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"> <em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="2b2541fef04ca6ad996e850284765029"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="2b2541fef04ca6ad996e850284765029" args="(const Glib::RefPtr&lt; 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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#g73690b4a0fc5d2eb132fa649b6db91b4">StatementModelUsage</a>&#160;</td>
          <td class="paramname"> <em>model_usage</em> = <code>STATEMENT_MODEL_RANDOM_ACCESS</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="8b46aa16c1b0e187b04cbef2612155b3"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_execute_select" ref="8b46aa16c1b0e187b04cbef2612155b3" args="(const Glib::RefPtr&lt; Statement &gt; &amp;stmt, const Glib::RefPtr&lt; Set &gt; &amp;params)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt;<a class="el" href="classGnome_1_1Gda_1_1DataModel.html">DataModel</a>&gt; Gnome::Gda::Connection::statement_execute_select </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">Set</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>params</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Executes a selection command on the given connection. <p>
The gda_execute_select_command() method can be easier to use if one prefers to use some SQL directly.<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>
This function is just a convenience function around the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#6861daf20a8431fd1ad3bf4c948277d4" title="Executes stmt.">statement_execute()</a> function.<p>
See the documentation of the <a class="el" href="classGnome_1_1Gda_1_1Connection.html#6861daf20a8431fd1ad3bf4c948277d4" title="Executes stmt.">statement_execute()</a> for information about the list of parameters. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stmt</em>&#160;</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 valign="top"></td><td valign="top"><em>params</em>&#160;</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#8dad51a8ddb41ae5d1f67b81e777471c" 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>
  </table>
</dl>
<dl class="return" compact><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><p>
<a class="anchor" name="62fac1d8a7764ab7b38fcd081884e606"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_prepare" ref="62fac1d8a7764ab7b38fcd081884e606" args="(const Glib::RefPtr&lt; 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">Statement</a> &gt;&amp;&#160;</td>
          <td class="paramname"> <em>stmt</em> </td>
          <td>&#160;)&#160;</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>
This is only usefull if <em>stmt</em> will be used more than once (however some database providers may always prepare stamements before executing them).<p>
This function is also usefull to make sure <em>stmt</em> is fully understood by the database before actually executing it.<p>
Note however that it is also possible that <a class="el" href="classGnome_1_1Gda_1_1Connection.html#62fac1d8a7764ab7b38fcd081884e606" 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#6861daf20a8431fd1ad3bf4c948277d4" 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). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stmt</em>&#160;</td><td>A <a class="el" href="classGnome_1_1Gda_1_1Statement.html" title="Single SQL statement.">Gda::Statement</a> object. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8de09236d4d6e6d756e9b9599622676d"></a><!-- doxytag: member="Gnome::Gda::Connection::statement_to_sql" ref="8de09236d4d6e6d756e9b9599622676d" args="(const Glib::RefPtr&lt; Statement &gt; &amp;stmt, const Glib::RefPtr&lt; Set &gt; &amp;params, StatementSqlFlag flags, std::list&lt; Glib::RefPtr&lt; Holder &gt; &gt; &amp;params_used)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> Gnome::Gda::Connection::statement_to_sql </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Statement.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Set.html">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#gf9664fcac77f427348868b9502623c1d">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" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00448.html">std::list</a>&lt; <a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Holder.html">Holder</a> &gt; &gt;&amp;&#160;</td>
          <td class="paramname"> <em>params_used</em></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>stmt</em>&#160;</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 valign="top"></td><td valign="top"><em>params</em>&#160;</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#8dad51a8ddb41ae5d1f67b81e777471c" 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 valign="top"></td><td valign="top"><em>flags</em>&#160;</td><td>SQL rendering flags, as <a class="el" href="group__libgdammEnums.html#gf9664fcac77f427348868b9502623c1d">Gda::StatementSqlFlag</a> OR'ed values. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>params_used</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A new string, or <code>0</code> if an error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4c1ee7605e310e250c75c2d7718cf9f9"></a><!-- doxytag: member="Gnome::Gda::Connection::supports_feature" ref="4c1ee7605e310e250c75c2d7718cf9f9" 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#gee005a48de360a73b16849b8a3f46b39">ConnectionFeature</a>&#160;</td>
          <td class="paramname"> <em>feature</em> </td>
          <td>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Asks the underlying provider for if a specific feature is supported. <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>feature</em>&#160;</td><td>Feature to ask for. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the provider supports it, <code>false</code> if not. </dd></dl>

</div>
</div><p>
<a class="anchor" name="2f2b33ce1d65dc112a035f44b26ff509"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store" ref="2f2b33ce1d65dc112a035f44b26ff509" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>id</em> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Update the meta store information <em>id</em>. <p>
This can speed up the update of the meta store if you only need a specific information <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="09020e66ecc8268caef2f9c9c352d9cf"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store" ref="09020e66ecc8268caef2f9c9c352d9cf" 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>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="c2f548e7a562af13828f656dfd86e1ea"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store_data_types" ref="c2f548e7a562af13828f656dfd86e1ea" 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>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="f393c812374086b28e9afbce9eb40b85"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store_table" ref="f393c812374086b28e9afbce9eb40b85" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>schema_name</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <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>
This can speed up the update of the meta store if you only need the information for a specific table <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>table_name</em>&#160;</td><td>Name of the table where the information is needed </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>schema_name</em>&#160;</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#d0e7f53bd8922c8e626bba6a65349e80" 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#d0e7f53bd8922c8e626bba6a65349e80" 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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d0e7f53bd8922c8e626bba6a65349e80"></a><!-- doxytag: member="Gnome::Gda::Connection::update_meta_store_table_names" ref="d0e7f53bd8922c8e626bba6a65349e80" 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" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> &amp;&#160;</td>
          <td class="paramname"> <em>schema_name</em> = <code><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>()</code> </td>
          <td>&#160;)&#160;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Update the meta store information for the table names. <p>
This can speed up the update of the meta store if you only need the list of table names.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>schema_name</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if no error occurred. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a17b47e1de3c25749d4c19cb15e6a0a8"></a><!-- doxytag: member="Gnome::Gda::Connection::value_to_sql_string" ref="a17b47e1de3c25749d4c19cb15e6a0a8" args="(const Value &amp;from) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1ustring.html">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>&#160;)&#160;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Produces a fully quoted and escaped string from a GValue. <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>from</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Escaped and quoted value or <code>0</code> if not supported. </dd></dl>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="be8f9151ea4f6667adbe7d60ffdb5e54"></a><!-- doxytag: member="Gnome::Gda::Connection::wrap" ref="be8f9151ea4f6667adbe7d60ffdb5e54" args="(GdaConnection *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="../../../glibmm-2.4/reference/html/classGlib_1_1RefPtr.html">Glib::RefPtr</a>&lt; <a class="el" href="classGnome_1_1Gda_1_1Connection.html">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></td><td>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A <a class="elRef" href="../../../glibmm-2.4/reference/html/namespaceGlib.html#671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&#160;</td><td>The C instance. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&#160;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li>libgdamm/connection.h</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Aug 28 20:01:54 2009 for libgdamm by&#160;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
</body>
</html>