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. Список параметров
Возвращаемые значенияTRUE, when process is successful. FALSE, when process is unsuccessful. ПримерыПример #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"
}
|
||