summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/mongo_process_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/mongo_process_interface.h')
-rw-r--r--src/mongo/db/pipeline/mongo_process_interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/mongo_process_interface.h b/src/mongo/db/pipeline/mongo_process_interface.h
index b01585619b6..21a5d73c94d 100644
--- a/src/mongo/db/pipeline/mongo_process_interface.h
+++ b/src/mongo/db/pipeline/mongo_process_interface.h
@@ -161,7 +161,9 @@ public:
BSONObjBuilder* builder) const = 0;
/**
- * Gets the collection options for the collection given by 'nss'.
+ * Gets the collection options for the collection given by 'nss'. Throws
+ * ErrorCodes::CommandNotSupportedOnView if 'nss' describes a view. Future callers may want to
+ * parameterize this behavior.
*/
virtual BSONObj getCollectionOptions(const NamespaceString& nss) = 0;