Sunday
Feb192012
SquidSendData
- Sends data into the next row of a column in SQUID.
- If the column does not exist, it will be created and the data will be added.
Prototype
int SquidSendData(int iSquid, char* sParam, char* sData);
- Parameters
iSquid Squid Connection Handle sParam String containing the name of the column sData The data to send to the column
- Return Values
0 Operation successful -1 Error 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", "Data Row 1");
SquidDisconnect(iSquid);
Reader Comments