Sunday
Feb192012
SquidColumnSize
- Returns the number of rows in the column.
Prototype
int SquidColumnSize(int iSquid, char* sParam);
- Parameters
iSquid Squid Connection Handle sParam String containing the name of the column
- Return Values
>=0 The number of rows in the column -1 Error occurred, call SquidGetLastError for details
Example
int iCount;
int iSquid;
lr_load_dll("SQUID-REST.dll");
iSquid = SquidConnect("http://localhost:8000");
SquidCreateColumn(iSquid, "NewColumn");
SquidSendData(iSquid, "NewColumn", "20");
SquidSendData(iSquid, "NewColumn", "100");
SquidSendData(iSquid, "NewColumn", "50");
iCount = SquidColumnSize(iSquid, "NewColumn");
lr_output_message("Rows in NewColumn = %ld", iCount);
SquidDisconnect(iSquid);