->update() (Previous) (Next) 特殊なデータの検索 (SELECT)

View this page in Last updated: Sun, 31 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

->delete()

->delete() -- 表からアイテムを削除します

説明

主キーあるいは whereAdd() メソッドコールのいずれかに基づいてデータベースからデータを削除します。 デフォルトでは、削除はセットされた変数に基づいて行われます。 しかしながら、 whereAdd() メソッドを使用したい場合、 $useWhere パラメータに DB_DATAOBJECT_WHEREADD_ONLY をセットすべきです。

パラメータ

  • boolean $use_where - whereAdd() 条件を使用するかどうかを指定します (デフォルトでは、削除は主キーのみが使用します) 。

返り値

int 作用した行数、あるいは失敗した場合 FALSE

注意

この関数は、スタティックにコールする ことはできません。

->update() (Previous) (Next) 特殊なデータの検索 (SELECT)

Download Documentation Last updated: Sun, 31 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.