From: Mateusz Bruno-Kaminski Date: Tue, 13 Dec 2016 15:41:29 +0000 (+0100) Subject: [DataControl] Nullable parameters X-Git-Tag: submit/tizen_3.0/20161215.084621~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b17a19339f1d4fdc7034228fd0043ddf2fb7731;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [DataControl] Nullable parameters [Details] Changed parameters of SQLDataControlConsumer.select() to match the documentation. [verification] web tct result is 100% passed. Change-Id: I0dce52927f7644c492d53beaa983da0a56fd3fde Signed-off-by: Mateusz Bruno-Kaminski --- diff --git a/src/datacontrol/datacontrol_api.js b/src/datacontrol/datacontrol_api.js index 5583184c..108f57cc 100755 --- a/src/datacontrol/datacontrol_api.js +++ b/src/datacontrol/datacontrol_api.js @@ -247,8 +247,8 @@ SQLDataControlConsumer.prototype.select = function(reqId, columns, where, succes {'name': 'where', 'type': types_.STRING}, {'name': 'successCallback', 'type': types_.FUNCTION}, {'name': 'errorCallback', 'type': types_.FUNCTION, optional: true, nullable: true}, - {'name': 'page', 'type': types_.LONG, optional: true}, - {'name': 'maxNumberPerPage', 'type': types_.LONG, optional: true}, + {'name': 'page', 'type': types_.LONG, optional: true, nullable: true}, + {'name': 'maxNumberPerPage', 'type': types_.LONG, optional: true, nullable: true}, {'name': 'order', 'type': types_.STRING, optional: true, nullable: true} ]);