Sunday
Feb192012

SquidClearColumn

  • Clears all data in a column given the column name.  Content will be lost.
  • Removes the tab from SQUID.

Prototype

int SquidClearColumn(int iSquid, char* sParam);

  • Parameters
iSquidSquid Connection Handle
sParamString containing the name of the column
  • Return Values
0Operation successful
-1Error occurred, call SquidGetLastError for details

Example

int iSquid;
lr_load_dll("SQUID-REST.dll");
iSquid = SquidConnect("http://localhost:8000");
SquidCreateColumn(iSquid, "NewColumn");
SquidSendData(iSquid, "NewColumn", "Some Data");
SquidClearColumn(iSquid, "NewColumn");
SquidDisconnect(iSquid);