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.

范例

Example #1 cubrid_set_drop() example

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

参见


CUBRID 函数
PHP Manual