MemCom Reference Manual > MemCom C API Manual Pages > Relational Table Manager Functions > mcTBdel

Name

mcTBdel — Delete key

Synopsis

#include <memcom.h>

int mcTBdel(const char* key, mcRTable* rt);

Description

mcTBdel deletes all data associated to a key and removes the key from the relational table buffer. If completed successfully, the function returns 0. Otherwise, a negative value indicating the MemCom error number is returned.

Parameters

key

Keyword assigned to data to be deleted (input).

rt

Pointer to relational table in memory (input).