diff --git a/lib/model.js b/lib/model.js index e10b535..c683fff 100644 --- a/lib/model.js +++ b/lib/model.js @@ -669,7 +669,6 @@ function matchQueryPart (obj, queryKey, queryValue) { // Check if the object value is an array if (util.isArray(objValue)) { // Check if it's a query operator array - // TODO REFACTOR!!! keys[0]!!! if (queryValue !== null && typeof queryValue === 'object' && !util.isRegExp(queryValue)) { keys = Object.keys(queryValue); firstChars = _.map(keys, function (item) { return item[0]; });