Repository: incubator-ignite Updated Branches: refs/heads/ignite-1170 d301d938a -> 9a5df1afa
#ignite-1170: remove unused fields in nodejs sql query. Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/e073d34a Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e073d34a Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e073d34a Branch: refs/heads/ignite-1170 Commit: e073d34ad2181f568bbdadc4bb39a1ff8f37e682 Parents: d301d93 Author: ivasilinets <ivasilin...@gridgain.com> Authored: Wed Jul 29 17:02:26 2015 +0300 Committer: ivasilinets <ivasilin...@gridgain.com> Committed: Wed Jul 29 17:02:26 2015 +0300 ---------------------------------------------------------------------- modules/nodejs/src/main/js/sql-fields-query.js | 18 ------------------ 1 file changed, 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e073d34a/modules/nodejs/src/main/js/sql-fields-query.js ---------------------------------------------------------------------- diff --git a/modules/nodejs/src/main/js/sql-fields-query.js b/modules/nodejs/src/main/js/sql-fields-query.js index edc9f4c..7b07baa 100644 --- a/modules/nodejs/src/main/js/sql-fields-query.js +++ b/modules/nodejs/src/main/js/sql-fields-query.js @@ -25,8 +25,6 @@ function SqlFieldsQuery(sql) { this._arg = []; this._pageSz = 1; this._type = null; - this._endFunc = function(err) {console.log("Empty end function is called [err=" + err + "]")}; - this._pageFunc = function(res) {console.log("Empty page function is called [res=" + res + "]")} } /** @@ -53,22 +51,6 @@ SqlFieldsQuery.prototype.on = function(code, f) { /** * @this {SqlFieldsQuery} - * @param res Query result - */ -SqlFieldsQuery.prototype.end = function(err) { - this._endFunc(err); -} - -/** - * @this {SqlFieldsQuery} - * @param res Query data - */ -SqlFieldsQuery.prototype.page = function(res) { - this._pageFunc(res); -} - -/** - * @this {SqlFieldsQuery} * @param {int} pageSz Page size. */ SqlFieldsQuery.prototype.setPageSize = function(pageSz) {