|
cubrid_col_sizeGet 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,失敗した場合に 変更履歴
例例1 cubrid_col_size example 上の例の出力は以下となります。
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
int(3)
|