Browse Source

Refs #2061, 2063: export PipelineCommand for SplitDocumentSource.

Charles Ezell 13 years ago
parent
commit
91c7e5f570
2 changed files with 7 additions and 0 deletions
  1. 1 0
      lib/Aggregator.js
  2. 6 0
      lib/commands/index.js

+ 1 - 0
lib/Aggregator.js

@@ -27,6 +27,7 @@ var Aggregator = module.exports = (function(){
 	klass.accumulators = require("./pipeline/accumulators");
 	klass.documentSources = require("./pipeline/documentSources");
 	klass.expressions = require("./pipeline/expressions");
+	klass.commands = require("./commands");
 	klass.Cursor = require("./Cursor");
 
 	return klass;

+ 6 - 0
lib/commands/index.js

@@ -0,0 +1,6 @@
+"use strict";
+module.exports = {
+	PipelineCommand: require("./PipelineCommand")
+};
+
+