Permalink
Browse files

Add helper for $out to aggregate

  • Loading branch information...
1 parent c1efafb commit c228c734e899f7f82a944e7cee545bf47c5cab6e @vkarpov15 vkarpov15 committed May 7, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/aggregate.js
View
@@ -242,7 +242,7 @@ Aggregate.prototype.near = function (arg) {
* define methods
*/
-'group match skip limit'.split(' ').forEach(function ($operator) {
+'group match skip limit out'.split(' ').forEach(function ($operator) {
Aggregate.prototype[$operator] = function (arg) {
var op = {};
op['$' + $operator] = arg;

0 comments on commit c228c73

Please sign in to comment.