|
cubrid_col_getGet contents of collection type column using OID 説明
array cubrid_col_get(resource
$conn_identifier, string $oid, string $attr_name)The cubrid_col_get function is used to get contents of the elements of the collection type (set, multiset, sequence) attribute you requested as an array. パラメータ
戻り値Array (0-based numerical array) containing the elements you requested, when process is successful;
例例1 cubrid_col_get example 上の例の出力は以下となります。
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
int(3)
|