|
cubrid_set_addInsert a single element to set type column using OID 説明
bool cubrid_set_add(
resource $conn_identifier,string $oid,string $attr_name,string $set_element) The cubrid_set_add function is used to insert a single element to a set type attribute (set, multiset, sequence) you requested. パラメータ
戻り値
成功した場合に 例例1 cubrid_set_add example 上の例の出力は以下となります。
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
参考
|