|
update : 2015.11.03
php.shukuma.com검색:
|
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.
변경점
예제Example #1 cubrid_col_size() example
<?php위 예제의 출력:
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
int(3)
|