diff options
Diffstat (limited to 'src/mongo/db/views/view.h')
-rw-r--r-- | src/mongo/db/views/view.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/views/view.h b/src/mongo/db/views/view.h index 8812048b166..715399ef746 100644 --- a/src/mongo/db/views/view.h +++ b/src/mongo/db/views/view.h @@ -90,6 +90,11 @@ public: return _collator.get(); } + /** + * Returns true if this view represents a time-series collection. + */ + bool isTimeseries() const; + void setViewOn(const NamespaceString& viewOnNss); /** |