📄 group__g__collection.html
字号:
<td class="paramkey"></td> <td></td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>index</em></td><td> </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> </td><td>- Collection handle </td></tr> <tr><td valign="top"></td><td valign="top"><em>index</em> </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#l00292">292</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#l00583">OCI_Coll::con</a>, <a class="el" href="ocilib__types_8h-source.html#l00585">OCI_Coll::elem</a>, <a class="el" href="ocilib__types_8h-source.html#l00267">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00581">OCI_Coll::handle</a>, <a class="el" href="ocilib__types_8h-source.html#l00586">OCI_Coll::size</a>, and <a class="el" href="ocilib__types_8h-source.html#l00584">OCI_Coll::typinf</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> * </td> <td class="paramname"> <em>coll</em> </td> <td> ) </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> </td><td>- Collection handle </td></tr> </table></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00232">232</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#l00581">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"> <tr> <td class="memname">OCI_EXPORT int OCI_API OCI_CollGetSize </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___coll.html">OCI_Coll</a> * </td> <td class="paramname"> <em>coll</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Returns the current 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> </td><td>- Collection handle </td></tr> </table></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00249">249</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#l00586">OCI_Coll::size</a>.</p></div></div><p><a class="anchor" name="g18518027318ac527c9cbefab4f16b7ba"></a><!-- doxytag: member="ocilib.h::OCI_CollGetType" ref="g18518027318ac527c9cbefab4f16b7ba" args="(OCI_Coll *coll)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_CollGetType </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___coll.html">OCI_Coll</a> * </td> <td class="paramname"> <em>coll</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the collection type. <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> </td><td>- Collection handle</td></tr> </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Current collection types are :</dd></dl><ul><li>OCI_COLL_VARRAY : Oracle VARRAY</li><li>OCI_COLL_NESTED_TABLE : Oracle Nested Table</li></ul><p><dl class="return" compact><dt><b>Returns:</b></dt><dd>Collection type or OCI_UNKNOWN if the collection handle is null </dd></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00212">212</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#l00631">OCI_TypeInfo::ccode</a>, and <a class="el" href="ocilib__types_8h-source.html#l00584">OCI_Coll::typinf</a>.</p></div></div><p><a class="anchor" name="gfe5b77f207c626e4a942a3080d2cb002"></a><!-- doxytag: member="ocilib.h::OCI_CollGetTypeInfo" ref="gfe5b77f207c626e4a942a3080d2cb002" args="(OCI_Coll *coll)" --><div class="memitem"><div class="memproto"> <table class="memname"> <tr> <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___type_info.html">OCI_TypeInfo</a>* OCI_API OCI_CollGetTypeInfo </td> <td>(</td> <td class="paramtype"><a class="el" href="struct_o_c_i___coll.html">OCI_Coll</a> * </td> <td class="paramname"> <em>coll</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table></div><div class="memdoc"><p>Return the type info object associated to 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> </td><td>- Collection handle </td></tr> </table></dl><p>Definition at line <a class="el" href="collection_8c-source.html#l00380">380</a> of file <a class="el" href="collection_8c-source.html">collection.c</a>.</p>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -