Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit 28e7e7f

Browse files
author
vdemedes
committed
forgot to put .skip() in Model.StaticMethods
1 parent a78e160 commit 28e7e7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/mongorito.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ var StaticMethods = {
250250
}
251251
};
252252

253-
['where', 'limit', 'sort', 'exists', 'lt', 'lte', 'gt', 'gte', 'in', 'nin', 'and', 'or', 'ne', 'nor'].forEach(function (method) {
253+
['where', 'limit', 'skip', 'sort', 'exists', 'lt', 'lte', 'gt', 'gte', 'in', 'nin', 'and', 'or', 'ne', 'nor'].forEach(function (method) {
254254
StaticMethods[method] = function () {
255255
var collection = this.collection();
256256
var model = this;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongorito",
3-
"version": "0.4.2",
3+
"version": "0.4.3",
44
"description": "ES6 generator-based MongoDB ODM. It rocks.",
55
"author": "Vadim Demedes <vdemedes@gmail.com>",
66
"dependencies": {

0 commit comments

Comments
 (0)