Pike v8.1 release 6

Method Mysql.SqlTable()->remove()


Method remove

void remove(mixed id)

Description

Removes the record matched by the primary key value in id. Nothing happens if there is no such record.

If the table has a multicolumn primary key then id must be an array which has the values for the primary key columns in the same order as pk_cols. Otherwise id is taken directly as the value of the single primary key column.

See also

remove_multi, delete