CollectionModify::unset

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

CollectionModify::unsetドキュメントのフィールドの値を削除する

説明

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

コレクションのドキュメントから、属性を削除します。

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

fields

コレクションのドキュメントから削除する属性

返り値

その後の処理で使える CollectionModify オブジェクトを返します。

例1 mysql_xdevapi\CollectionModify::unset() の例

<?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