⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 group__g__collection.html

📁 ORACLE编程的好东西,纯C写的OCI封装.很好用,支持数据池.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Assign a collection to another another one. <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>coll</em>&nbsp;</td><td>- Destination Collection handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>coll_src</em>&nbsp;</td><td>- Source Collection handle</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Oracle proceeds to a deep copy of the collection content</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00182">182</a> of file <a class="el" href="collection_8c-source.html">collection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00559">OCI_Schema::cols</a>, <a class="el" href="ocilib__types_8h-source.html#l00528">OCI_Coll::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00526">OCI_Coll::handle</a>, <a class="el" href="ocilib__types_8h-source.html#l00275">OCI_Column::icode</a>, and <a class="el" href="ocilib__types_8h-source.html#l00529">OCI_Coll::nty</a>.</p></div></div><p><a class="anchor" name="g60ff6fdf0c0b8b2761ddba752ffad42b"></a><!-- doxytag: member="ocilib.h::OCI_CollCreate" ref="g60ff6fdf0c0b8b2761ddba752ffad42b" args="(OCI_Schema *schema)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___coll.html">OCI_Coll</a>* OCI_API OCI_CollCreate           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___schema.html">OCI_Schema</a> *&nbsp;</td>          <td class="paramname"> <em>schema</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Create a local collection instance. <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</em>&nbsp;</td><td>- schema handle of the collection type descriptor</td></tr>  </table></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Return the collection object handle on success otherwise NULL on failure </dd></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00130">130</a> of file <a class="el" href="collection_8c-source.html">collection.c</a>.</p></div></div><p><a class="anchor" name="g8663babe980c99ff0441feedff973912"></a><!-- doxytag: member="ocilib.h::OCI_CollFree" ref="g8663babe980c99ff0441feedff973912" args="(OCI_Coll *coll)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_CollFree           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___coll.html">OCI_Coll</a> *&nbsp;</td>          <td class="paramname"> <em>coll</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Free a local collection. <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>coll</em>&nbsp;</td><td>- Collection handle</td></tr>  </table></dl><dl class="warning" compact><dt><b>Warning:</b></dt><dd>Only collection created with <a class="el" href="group__g__collection.html#g60ff6fdf0c0b8b2761ddba752ffad42b" title="Create a local collection instance.">OCI_CollCreate()</a> should be freed by <a class="el" href="group__g__collection.html#g8663babe980c99ff0441feedff973912" title="Free a local collection.">OCI_CollFree()</a></dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00150">150</a> of file <a class="el" href="collection_8c-source.html">collection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00553">OCI_Schema::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00530">OCI_Coll::elem</a>, <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00526">OCI_Coll::handle</a>, <a class="el" href="ocilib__types_8h-source.html#l00527">OCI_Coll::hstate</a>, <a class="el" href="ocilib__types_8h-source.html#l00529">OCI_Coll::nty</a>, and <a class="el" href="group__g__collection.html#gdf1010d812aa53c3b27d991fa47b4f98">OCI_ElemFree()</a>.</p><p>Referenced by <a class="el" href="group__g__collection.html#gdf1010d812aa53c3b27d991fa47b4f98">OCI_ElemFree()</a>, and <a class="el" href="group__g__usertypes.html#g3fd2c9dfdcab2c56400c95c31cc0851e">OCI_ObjectFree()</a>.</p></div></div><p><a class="anchor" name="g65523dc5e889b8d1e956674dd05e9b8b"></a><!-- doxytag: member="ocilib.h::OCI_CollGetAt" ref="g65523dc5e889b8d1e956674dd05e9b8b" args="(OCI_Coll *coll, unsigned int index)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___elem.html">OCI_Elem</a>* OCI_API OCI_CollGetAt           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___coll.html">OCI_Coll</a> *&nbsp;</td>          <td class="paramname"> <em>coll</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">unsigned int&nbsp;</td>          <td class="paramname"> <em>index</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the element at the given position in the collection. <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>coll</em>&nbsp;</td><td>- Collection handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>- Index of the destination element</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Collection indexes start at position 1.</dd></dl><dl class="return" compact><dt><b>Returns:</b></dt><dd>Element handle on success otherwise FALSE </dd></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00291">291</a> of file <a class="el" href="collection_8c-source.html">collection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00559">OCI_Schema::cols</a>, <a class="el" href="ocilib__types_8h-source.html#l00528">OCI_Coll::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00530">OCI_Coll::elem</a>, <a class="el" href="ocilib__types_8h-source.html#l00235">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00526">OCI_Coll::handle</a>, <a class="el" href="ocilib__types_8h-source.html#l00529">OCI_Coll::nty</a>, and <a class="el" href="ocilib__types_8h-source.html#l00531">OCI_Coll::size</a>.</p></div></div><p><a class="anchor" name="gfdc86421c73ed6955a965097cb335a64"></a><!-- doxytag: member="ocilib.h::OCI_CollGetMax" ref="gfdc86421c73ed6955a965097cb335a64" args="(OCI_Coll *coll)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT int OCI_API OCI_CollGetMax           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___coll.html">OCI_Coll</a> *&nbsp;</td>          <td class="paramname"> <em>coll</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Returns the maximum number of elements of the given collection. <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>coll</em>&nbsp;</td><td>- Collection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00231">231</a> of file <a class="el" href="collection_8c-source.html">collection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00526">OCI_Coll::handle</a>.</p></div></div><p><a class="anchor" name="g107e9fef3fc0bced6503e566a67dfcb5"></a><!-- doxytag: member="ocilib.h::OCI_CollGetSize" ref="g107e9fef3fc0bced6503e566a67dfcb5" args="(OCI_Coll *coll)" --><div class="memitem"><div class="memproto">      <table class="memname">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -