cubrid_col_size
Get the number of elements in collection type column using OID
&reftitle.description;
intcubrid_col_size
resourceconn_identifier
stringoid
stringattr_name
The cubrid_col_size function is used to get the
number of elements in a collection type (set, multiset, sequence)
attribute.
&reftitle.parameters;
conn_identifier
Connection identifier.
oid
OID the instance that you want to work with.
attr_name
Name of the attribute that you want to work with.
&reftitle.returnvalues;
Number of elements, when process is successful.
&false;, when process is unsuccessful.
&reftitle.changelog;
&Version;
&Description;
8.3.1
Change return value: when process is unsuccessful, return false, not -1.
&reftitle.examples;
cubrid_col_size example
]]>
&example.outputs;
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
int(3)
]]>