diff options
Diffstat (limited to 'src/mongo/db/pipeline/field_path.h')
-rwxr-xr-x | src/mongo/db/pipeline/field_path.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/field_path.h b/src/mongo/db/pipeline/field_path.h index f6f59ad3295..efbda98a55d 100755 --- a/src/mongo/db/pipeline/field_path.h +++ b/src/mongo/db/pipeline/field_path.h @@ -83,6 +83,9 @@ namespace mongo { static const char prefix[]; + /** a FieldPath like this but missing the first element (useful for recursion) */ + FieldPath tail() const; + private: vector<string> vFieldName; }; |