#include <dwc.h>DWCGdbError DWC_GdbGetRecordCountAsync(const char *table_name,
const char *filter,
BOOL cache_flag,
int *count);| table_name | Table name. |
| filter | Conditions for the records you want to retrieve. Works the same way as SQL's WHERE phrase. If NULL is specified, the total number of records is obtained. |
| cache_flag | Specifies whether or not to cache the results on the server side. |
| count | Stores the number of records obtained. |
Error information.
If the process is successful, the number of records is entered in the count argument.
If the DWC_GDB_ERROR_NONE value is returned, the asynchronous process has started. Wait until the DWC_GdbGetState function stops returning DWC_GDB_STATE_IN_ASYNC_PROCESS.
You can get the result using the DWC_GdbGetAsyncResult function.
CONFIDENTIAL