diff options
author | Mathias Stearn <mathias@10gen.com> | 2012-07-16 20:44:07 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2012-07-20 18:01:35 -0400 |
commit | 6226f70bf6967d87885d2da4f6129404ab238ce7 (patch) | |
tree | 3aa41292495a5fe30896537264ad65af53f2b37e /src/mongo/db/pipeline/field_path.cpp | |
parent | ec18db98680d31b120350ad45d5f74095125e9a5 (diff) | |
download | mongo-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-x | src/mongo/db/pipeline/field_path.cpp | 4 |
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() { /* |