summaryrefslogtreecommitdiff
path: root/src/mongo/db/db_raii.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/db_raii.h')
-rw-r--r--src/mongo/db/db_raii.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/db_raii.h b/src/mongo/db/db_raii.h
index 55e96aea833..e1d9be6371b 100644
--- a/src/mongo/db/db_raii.h
+++ b/src/mongo/db/db_raii.h
@@ -32,6 +32,7 @@
#include <string>
#include "mongo/db/catalog_raii.h"
+#include "mongo/db/collection_type.h"
#include "mongo/db/stats/top.h"
#include "mongo/util/timer.h"
@@ -469,6 +470,7 @@ public:
return getCollection();
}
const CollectionPtr& getCollection() const;
+ query_shape::CollectionType getCollectionType() const;
const ViewDefinition* getView() const;
const NamespaceString& getNss() const;
bool isAnySecondaryNamespaceAViewOrSharded() const;