summaryrefslogtreecommitdiff
path: root/src/mongo/db/namespace_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/namespace_string.h')
-rw-r--r--src/mongo/db/namespace_string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/namespace_string.h b/src/mongo/db/namespace_string.h
index 505eb9d3130..f511a6a3f04 100644
--- a/src/mongo/db/namespace_string.h
+++ b/src/mongo/db/namespace_string.h
@@ -452,6 +452,9 @@ public:
return coll().startsWith("$cmd."_sd);
}
+ /**
+ * NOTE an aggregate could still refer to another collection using a stage like $out.
+ */
bool isCollectionlessAggregateNS() const;
bool isListCollectionsCursorNS() const;