int vscphlp_tableGet( const unsigned char *pName, const char *pFrom, const char *pTo, unsigned char **pResultArray, BOOL bFull )
Name of an existing table.
Datetime from which data should be fetched. Should be given on ISO 8601 format YY-MM-DDTHH:MM:SS.
Datetime up to which data is fetched. Should be given on ISO 8601 format YY-MM-DDTHH:MM:SS.
List of null terminated strings that will get filled with rows (if any) from the table. The list is allocated on the heap and must be freed by the user. If no result is returned set to a NULL pointer.
YY-MM-DDTHH:MM:SSsss, value1[,other fields]<CR><LF> YY-MM-DDTHH:MM:SSsss, value2[,other fields]<CR><LF> YY-MM-DDTHH:MM:SSsss, value3[,other fields]<CR><LF> ... YY-MM-DDTHH:MM:SS, valuen[,other fields]<CR><LF>
If TRUe (!=0) all fields of a table row is returned (other fields above) in a comma separated list. Note that datetime is always listed first followed by value regardless of how the columns of the table is arranged.
CANAL_ERROR_SUCCESS on success or an error code on failure.
Get data from a named table in a range to-from. One can fetch all columns of the table (bFull) or just datetime and value (default).
This document is licensed under Creative Commons BY 4.0 and can be freely copied, redistributed, remixed, transformed, built upon as long as you give credits to the author((s).