diff options
author | Benety Goh <benety@mongodb.com> | 2021-11-03 18:33:46 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-03 23:43:30 +0000 |
commit | f64776b399ee0934724da0065541886c31da90f4 (patch) | |
tree | c88be1545264cd8141ed0310d2effb68d72b0346 /src/mongo/db/op_observer.h | |
parent | 1c476ebc7139d851d87378f1b90e95bc064362ed (diff) | |
download | mongo-f64776b399ee0934724da0065541886c31da90f4.tar.gz |
SERVER-61158 add unique to collMod index request
This also adds unique_new to the collMod response when the command completes
successfully.
Diffstat (limited to 'src/mongo/db/op_observer.h')
-rw-r--r-- | src/mongo/db/op_observer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/op_observer.h b/src/mongo/db/op_observer.h index 5d0da247203..54f32d09792 100644 --- a/src/mongo/db/op_observer.h +++ b/src/mongo/db/op_observer.h @@ -98,6 +98,7 @@ struct IndexCollModInfo { boost::optional<Seconds> oldExpireAfterSeconds; boost::optional<bool> hidden; boost::optional<bool> oldHidden; + boost::optional<bool> unique; std::string indexName; }; |