Преглед изворни кода

Refs #2061, 2063: export PipelineCommand for SplitDocumentSource.

Charles Ezell пре 13 година
родитељ
комит
91c7e5f570
2 измењених фајлова са 7 додато и 0 уклоњено
  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")
+};
+
+