From d930972d3e9e956bbec17ad8150583e3ba2fb683 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Wed, 20 May 2015 17:20:55 -0700 Subject: [PATCH] Fix the jsdoc for applyPagination --- lib/sql.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/sql.js b/lib/sql.js index 26a442b..6d68a4a 100644 --- a/lib/sql.js +++ b/lib/sql.js @@ -1292,9 +1292,7 @@ SQLConnector.prototype.getPlaceholderForValue = function(key) { * Build a new SQL statement with pagination support by wrapping the given sql * @param {String} model The model name * @param {ParameterizedSQL} stmt The sql statement - * @param {Number} limit The maximum number of records to be fetched - * @param {Number} offset The offset to start fetching records - * @param {String[]} order The sorting criteria + * @param {Object} filter The filter object from the query */ SQLConnector.prototype.applyPagination = function(model, stmt, filter) { throw new Error('applyPagination() must be implemented by the connector');