|
update : 2015.11.03
php.shukuma.com검색:
|
cubrid_set_add(PECL CUBRID >= 8.3.0) cubrid_set_add — Insert 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. 인수
반환값
예제Example #1 cubrid_set_add() example
<?php위 예제의 출력:
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"
}
|