cubrid_col_size(PECL CUBRID >= 8.3.0) cubrid_col_size — Get the number of elements in collection type column using OID Описание
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. Список параметров
Возвращаемые значенияNumber of elements, when process is successful. FALSE, when process is unsuccessful. Список изменений
ПримерыПример #1 cubrid_col_size() example
<?phpРезультат выполнения данного примера:
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
int(3)
|
||||||