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
iSquidSquid Connection Handle
sParamString containing the name of the column
sDataThe data to send to 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", "Data Row 1");
SquidDisconnect(iSquid);

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>