php[world] 2019 — 25 years of PHP

CollectionModify::unset

(No version information available, might only be in Git)

CollectionModify::unsetUnset the value of document fields

Açıklama

public mysql_xdevapi\CollectionModify::unset ( array $fields ) : mysql_xdevapi\CollectionModify

Removes attributes from documents in a collection.

Uyarı

Bu işlev hala belgelendirilmemiştir; sadece değiştirge listesi mevcuttur.

Değiştirgeler

fields

The attributes to remove from documents in a collection.

Dönen Değerler

CollectionModify object that can be used for further processing.

Örnekler

Örnek 1 mysql_xdevapi\CollectionModify::unset() example

<?php

$res 
$coll->modify('job like :job_name')->unset(["age""name"])->bind(['job_name' => 'Plumber'])->execute();

?>
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top