PHP Manualcubrid_col_size(PECL CUBRID >= 8.3.0) cubrid_col_size — Get the number of elements in collection type column using OID Description
int cubrid_col_size
( resource
$conn_identifier
, string $oid
, string $attr_name
)The cubrid_col_size() function is used to get the number of elements in a collection type (set, multiset, sequence) attribute. Parameters
Return ValuesNumber of elements, when process is successful.
Changelog
ExamplesExample #1 cubrid_col_size() example
<?php The above example will output: array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" } int(3)
![]() |
PHP-Index
New Tutorial entries
|