cubrid_set_drop(PECL CUBRID >= 8.3.0) cubrid_set_drop — Delete an element from set type column using OID Описание
bool cubrid_set_drop
( resource $conn_identifier
, string $oid
, string $attr_name
, string $set_element
)
The cubrid_set_drop() function is used to delete an element that you request from the given set type (set, multiset) attribute of the database. Список параметров
Возвращаемые значенияTRUE, when process is successful. FALSE, when process is unsuccessful. ПримерыПример #1 cubrid_set_drop() example
<?phpРезультат выполнения данного примера:
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
array(2) {
[0]=>
string(1) "2"
[1]=>
string(1) "3"
}
|
||