SynopsisRemoves a given row from a database table. Prototype#include "emfdb.h" int dbDeleteRow(int did, char_t* table, int rid); Parameters
DescriptionDeletes and frees one row. All rows shift accordingly to the deletion. Return ValuedbDeleteRow returns 0 upon success, or -1 upon error. Exampleif (dbDeleteRow(did, "detector", row) < 0) { Error(wp, 200, "Cant delete detector row"); return; } See Also
|