#include <dwc.h>
typedef struct DWCGdbSearchCond {
char * filter;
char * sort;
int offset;
int max;
char * target_filter;
int surrounding_num;
int * ownerids;
int ownerid_num;
BOOL cache_flag;
} DWCGdbSearchCond;| filter | Works the same way as SQL's WHERE phrase. If set to NULL, this argument does not specify anything. |
| sort | Works the same way as SQL's ORDERBY phrase. If set to NULL, this argument does not specify anything. |
| offset | Specifies the nth search result as the start for obtaining search results. |
| max | Specifies the maximum number of search results to be obtained. |
| target_filter | To obtain neighboring records using surrounding_num, set this filter to search for only one record. If you will not be using this argument, set it to NULL. |
| surrounding_num | Use this in combination with target_filter. Specify a value of 1 or greater to get the specified number of records above and below the search result, in addition to the search result itself. |
| ownerids | Specifies an array of the profile IDs of the creators of records to search. If ownerid_num has been set to 0, you can set this argument to NULL. |
| ownerid_num | Specifies the length of the array specified in ownerids. If you will not be using this argument, set it to 0. |
| cache_flag | Specifies whether or not to cache the search results on the server. |
CONFIDENTIAL