#include <mediaselector_api.h>
alp_ms_dml_statement_parameters_* methods to set it.).
alp_ms_dml_statement_parameters_* methods make copies of their const char * parameters: It is your responsibility to be sure that pointers still point to valid strings at the time you call alp_ms_dml_statement_exec() or alp_ms_dml_statement_begin(). Similarly, you own the strings in the alp_ms_dml_statement_parameters block, and it is your responsibility to free them after you call alp_ms_dml_statement_exec() or alp_ms_dml_statement_begin() if necessary (obviously, you should not free static strings).
Data Fields | |
| bool | ascending |
| Ascending or descending result. | |
| const char * | category |
| A comma-separated list of categories to retrieve data from: like "all", "applications,audio", etc. | |
| const char * | excludedCategories |
| A comma-separated list of categories that you don't want to see. For example, including "audio" while excluding "voice,ringtones" will give you all audio files that are neither voice or ringtone files. | |
| const char * | fields |
| A comma-separated list of field names, like "id,title,size,icon". | |
| const char * | filter |
A SQL where clause like eg "application.mimetype='application/msword'". | |
| const char * | includedCategories |
| A comma-separated list of categories that a file is in. For example, "audio" would give you all audio files. | |
| int | limit |
| Limit number of records returned (0 means no limit). | |
| const char * | match |
| const char * | matchField |
| Field to match against - match(sai), matchCategory(title) matches titles that start with sai. | |
| const char * | regex |
| Slow but powerful matching - applies POSIX regex (case insensitive, extended) to regexField. | |
| const char * | regexField |
| _ matches any 1 character and % matches 0-or-more of any character. (\ escapes _ and %.) Field to apply regex to match against | |
| const char * | sortby |
| "size", "artist", "audio.title", etc. NULL means no sorting. | |
| int | start |
| Records to skip: 0..n-1. | |
|
|
Ascending or descending result.
|
|
|
A comma-separated list of categories to retrieve data from: like "all", "applications,audio", etc.
|
|
|
A comma-separated list of categories that you don't want to see. For example, including "audio" while excluding "voice,ringtones" will give you all audio files that are neither voice or ringtone files.
|
|
|
A comma-separated list of field names, like "id,title,size,icon".
|
|
|
A SQL
|
|
|
A comma-separated list of categories that a file is in. For example, "audio" would give you all audio files.
|
|
|
Limit number of records returned (0 means no limit).
|
|
|
Flexible matching, e.g. "sai" to match "sailing". |
|
|
Field to match against - match(sai), matchCategory(title) matches titles that start with sai.
|
|
|
Slow but powerful matching - applies POSIX regex (case insensitive, extended) to regexField.
|
|
|
_ matches any 1 character and % matches 0-or-more of any character. (\ escapes _ and %.) Field to apply regex to match against
|
|
|
"size", "artist", "audio.title", etc. NULL means no sorting.
|
|
|
Records to skip: 0..n-1.
|
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.