29 #include "mongo/base/status.h" 30 #include "mongo/base/status_with.h" 37 class NamespaceString;
38 class OperationContext;
50 const NamespaceString&
ns,
51 const BSONObj& cmdObj,
52 BSONObjBuilder* result);
59 const NamespaceString& nss,
60 const BSONObj& cmdObj);
Collection *const const NamespaceString & ns
Definition: collection_info_cache_impl.cpp:53
Copyright (C) 2014 MongoDB Inc.
Definition: bson_collection_catalog_entry.cpp:38
Status collMod(OperationContext *opCtx, const NamespaceString &nss, const BSONObj &cmdObj, BSONObjBuilder *result)
Performs the collection modification described in "cmdObj" on the collection "ns".
Definition: coll_mod.cpp:463
Status collModWithUpgrade(OperationContext *opCtx, const NamespaceString &nss, const BSONObj &cmdObj)
Applies the collMod operation and optionally updates formatVersion of unique indexes belonging to col...
Definition: coll_mod.cpp:474
OperationContext Database StringData CollectionOptions bool const BSONObj &idIndex Status
Definition: database_impl.cpp:955
void addCollectionUUIDs(OperationContext *opCtx)
Adds UUIDs to all replicated collections of all databases if they do not already have UUIDs.
Collection *const OperationContext *const opCtx
Definition: collection_impl.cpp:80
Status updateNonReplicatedUniqueIndexes(OperationContext *opCtx)
Definition: coll_mod.cpp:597
void updateUniqueIndexesOnUpgrade(OperationContext *opCtx)
Definition: coll_mod.cpp:564