diff options
Diffstat (limited to 'src/mongo/bson/bsontypes.h')
-rw-r--r-- | src/mongo/bson/bsontypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/bson/bsontypes.h b/src/mongo/bson/bsontypes.h index ce3283ebb59..0bd9caeff9a 100644 --- a/src/mongo/bson/bsontypes.h +++ b/src/mongo/bson/bsontypes.h @@ -137,6 +137,11 @@ enum BinDataType { bdtCustom = 128 }; +/** + * Return the name of the BinData Type. + */ +const char* typeName(BinDataType type); + /** Returns a number for where a given type falls in the sort order. * Elements with the same return value should be compared for value equality. * The return value is not a BSONType and should not be treated as one. |