summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/timeseries/timeseries_update_delete_util.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mongo/db/timeseries/timeseries_update_delete_util.h b/src/mongo/db/timeseries/timeseries_update_delete_util.h
index 0688cf8588a..90c9504ca47 100644
--- a/src/mongo/db/timeseries/timeseries_update_delete_util.h
+++ b/src/mongo/db/timeseries/timeseries_update_delete_util.h
@@ -29,31 +29,10 @@
#pragma once
-#include <set>
-
#include "mongo/bson/bsonobj.h"
-#include "mongo/db/operation_context.h"
#include "mongo/db/ops/write_ops_gen.h"
namespace mongo::timeseries {
-
-/**
- * Returns true if the given query, represented by its dependent fields, only modifies the
- * time-series collection's given metaField, false otherwise.
- */
-bool queryOnlyDependsOnMetaField(boost::optional<StringData> metaField,
- const std::set<std::string>& dependencyFieldNames);
-
-/**
- * Returns true if the given update modification only modifies the time-series collection's given
- * metaField, false otherwise. Requires that the update is not a delta update, and throws an
- * exception if the update is not an update document (e.g. is a pipeline update or a replacement
- * document).
- */
-bool updateOnlyModifiesMetaField(OperationContext* opCtx,
- const write_ops::UpdateModification& updateMod,
- StringData metaField);
-
/**
* Translates the given query on the time-series collection to a query on the time-series
* collection's underlying buckets collection. Creates and returns a translated query document where
@@ -62,7 +41,6 @@ bool updateOnlyModifiesMetaField(OperationContext* opCtx,
*/
BSONObj translateQuery(const BSONObj& query, StringData metaField);
-
/**
* Translates the given update on the time-series collection to an update on the time-series
* collection's underlying buckets collection. Creates and returns a translated UpdateModification