->update() (Previous) (Next) Selecting Specific data (SELECT)

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

->delete()

->delete() -- Delete items from table

Описание

Deletes data from the database, either using primary key or based on a whereAdd() method call. By default the delete will base it's query on the set variables, however if you wish to use the whereAdd() method you should set the $useWhere parameter to DB_DATAOBJECT_WHEREADD_ONLY.

Параметр

  • boolean $use_where - use the whereAdd() conditions (by default, delete will only use primary keys)

Возвращаемое значение

int number of rows affected or FALSE on failure

Заметка

Эта функция не должна вызываться статически.

->update() (Previous) (Next) Selecting Specific data (SELECT)

Download Documentation Last updated: Mon, 02 Jul 2007
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.