CUBRID Функции
PHP Manual

cubrid_set_drop

(PECL CUBRID >= 8.3.0)

cubrid_set_dropIs used to delete an element

Описание

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.

Список параметров

conn_identifier

Connection identifier.

oid

Oid of the instance you want to work with.

attr_name

Name of the attribute you want to delete an element from.

set_element

Content of the element you want to delete.

Возвращаемые значения

TRUE, when process is successful.

FALSE, when process is unsuccessful.

Примеры

Пример #1 cubrid_set_drop() example

<?php
cubrid_set_drop 
($con$oid"friend""James");
cubrid_set_drop ($con$oid"friend""Michael");
?>

Смотрите также


CUBRID Функции
PHP Manual