summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/field_path.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2012-07-16 20:44:07 -0400
committerMathias Stearn <mathias@10gen.com>2012-07-20 18:01:35 -0400
commit6226f70bf6967d87885d2da4f6129404ab238ce7 (patch)
tree3aa41292495a5fe30896537264ad65af53f2b37e /src/mongo/db/pipeline/field_path.cpp
parentec18db98680d31b120350ad45d5f74095125e9a5 (diff)
downloadmongo-6226f70bf6967d87885d2da4f6129404ab238ce7.tar.gz
SERVER-4644 Pull dependencies out of $project and use them in DocumentSourceCursor
This commit lays the foundation for support across all projection operations
Diffstat (limited to 'src/mongo/db/pipeline/field_path.cpp')
-rwxr-xr-xsrc/mongo/db/pipeline/field_path.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/field_path.cpp b/src/mongo/db/pipeline/field_path.cpp
index 87c1acdd41f..b0a2b0d364b 100755
--- a/src/mongo/db/pipeline/field_path.cpp
+++ b/src/mongo/db/pipeline/field_path.cpp
@@ -31,6 +31,10 @@ namespace mongo {
vFieldName() {
}
+ FieldPath::FieldPath(const vector<string>& fieldPath):
+ vFieldName(fieldPath) {
+ }
+
FieldPath::FieldPath(const string &fieldPath):
vFieldName() {
/*