|
cubrid_set_dropDelete an element from set type column using OID Beschreibung
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. Parameter-Liste
Rückgabewerte
BeispieleBeispiel #1 cubrid_set_drop example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
array(2) {
[0]=>
string(1) "2"
[1]=>
string(1) "3"
}
Siehe auch
|