From: Michal Skorupinski Date: Wed, 21 Oct 2015 08:04:21 +0000 (+0200) Subject: [SAMPLE APP][DATA-CONTROL-CONSUMER] Fix in data_control_sql_select function's description X-Git-Tag: tizen_3.0/TD_SYNC/20161201~350^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=795ab6647cc48a6d9ef77023405a5028aecedd0f;p=sdk%2Fonline-doc.git [SAMPLE APP][DATA-CONTROL-CONSUMER] Fix in data_control_sql_select function's description Change-Id: I44509e6eea76a5da69f81492320353d4f43d6a66 Signed-off-by: Michal Skorupinski --- diff --git a/org.tizen.sampledescriptions/html/mobile_n/data_control_consumer_sd_mn.htm b/org.tizen.sampledescriptions/html/mobile_n/data_control_consumer_sd_mn.htm index 4de0c88..39ca6ac 100644 --- a/org.tizen.sampledescriptions/html/mobile_n/data_control_consumer_sd_mn.htm +++ b/org.tizen.sampledescriptions/html/mobile_n/data_control_consumer_sd_mn.htm @@ -488,7 +488,7 @@ data_control_sql_set_data_id(s_info.provider, data_id);
 data_control_sql_select(data_control_h provider, char **column_list, int column_count, const char *where, const char *order, int *request_id);
 
-should be used. The select_array parameter is used as the text after the SELECT keyword in a sql query. The select_array is an array of strings. The column_name_entry entry field in the sql view can be used as the input for the select_array. Note however that the string from the entry has to be converted (using the elm_entry_markup_to_utf8()) from markup to utf8 format. If not, some characters, e.g '<', cannot be used. After the conversion, '\n' can be used as a delimiter when the text from the entry field is transformed into the array of strings. The select_array_count variable is the count of select_array elements. The final_where parameter is a string. It can contain any correct sql WHERE entry. The where_entry entry field is used to provide an input for this parameter. Of course this text (like any text from an entry widget) has to be converted to utf8 as well. If one of the sort methods is chosen using the radiobuttons, a column name has to be provided using the sort_column_entry field. The order_text parameter is a concatenation of the order_text string and an appropriate sort text, e.g. 'Num ASC'. +should be used. The column_list parameter is used as the text after the SELECT keyword in a sql query. The column_list is an array of strings. The column_name_entry entry field in the sql view can be used as the input for the column_list. Note however that the string from the entry has to be converted (using the elm_entry_markup_to_utf8()) from markup to utf8 format. If not, some characters, e.g '<', cannot be used. After the conversion, '\n' can be used as a delimiter when the text from the entry field is transformed into the array of strings. The column_count variable is the count of column_list elements. The where parameter is a string. It can contain any correct sql WHERE entry. The where_entry entry field is used to provide an input for this parameter. Of course this text (like any text from an entry widget) has to be converted to utf8 as well. If one of the sort methods is chosen using the radiobuttons, a column name has to be provided using the sort_column_entry field. The order parameter is a concatenation of the sort_column_entry string and an appropriate sort text, e.g. 'Num ASC'.

Insert request