diff options
author | Kyle Suarez <kyle.suarez@mongodb.com> | 2017-07-07 15:22:36 -0400 |
---|---|---|
committer | Kyle Suarez <kyle.suarez@mongodb.com> | 2017-07-07 15:22:36 -0400 |
commit | 306e5376eaa4d48c6fc0ae1afb9a61e9eaffd498 (patch) | |
tree | 2987cb012208f32332f81e927c7f6b0c14016b73 /src/mongo/bson/bsonelement.cpp | |
parent | ce5e5fdfcad9ee0b3b08954982ded2a4bdfd8ac2 (diff) | |
download | mongo-306e5376eaa4d48c6fc0ae1afb9a61e9eaffd498.tar.gz |
SERVER-29588 create an $_internalSchemaUniqueItems MatchExpression
Diffstat (limited to 'src/mongo/bson/bsonelement.cpp')
-rw-r--r-- | src/mongo/bson/bsonelement.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/bson/bsonelement.cpp b/src/mongo/bson/bsonelement.cpp index f82ba99e8f3..b3f6ec79696 100644 --- a/src/mongo/bson/bsonelement.cpp +++ b/src/mongo/bson/bsonelement.cpp @@ -336,6 +336,7 @@ const StringMap<BSONObj::MatchType> queryOperatorMap{ {"bitsAnyClear", BSONObj::opBITS_ANY_CLEAR}, {"_internalSchemaMinItems", BSONObj::opINTERNAL_SCHEMA_MIN_ITEMS}, {"_internalSchemaMaxItems", BSONObj::opINTERNAL_SCHEMA_MAX_ITEMS}, + {"_internalSchemaUniqueItems", BSONObj::opINTERNAL_SCHEMA_UNIQUE_ITEMS}, }; // Compares two string elements using a simple binary compare. |