summaryrefslogtreecommitdiff
path: root/src/mongo/bson
diff options
context:
space:
mode:
authorJames Wahlin <james@mongodb.com>2020-02-20 16:12:08 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-26 15:25:40 +0000
commitdbc00195a18a3aecbcb7b254c3de2056fe25aa24 (patch)
treee736aa635918774eac5dcfa759ab7319f88fb1f9 /src/mongo/bson
parent687f9be7fa79ac6f3c2025784f942fdcafeb2a5f (diff)
downloadmongo-dbc00195a18a3aecbcb7b254c3de2056fe25aa24.tar.gz
SERVER-45460 Mark CodeWithScope as deprecated in bsontypes.h
Diffstat (limited to 'src/mongo/bson')
-rw-r--r--src/mongo/bson/bsontypes.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/bson/bsontypes.h b/src/mongo/bson/bsontypes.h
index 68867eacf88..955fed80eec 100644
--- a/src/mongo/bson/bsontypes.h
+++ b/src/mongo/bson/bsontypes.h
@@ -79,7 +79,7 @@ enum BSONType {
Array = 4,
/** binary data */
BinData = 5,
- /** Undefined type */
+ /** (Deprecated) Undefined type */
Undefined = 6,
/** ObjectId */
jstOID = 7,
@@ -91,13 +91,13 @@ enum BSONType {
jstNULL = 10,
/** regular expression, a pattern with options */
RegEx = 11,
- /** deprecated / will be redesigned */
+ /** (Deprecated) */
DBRef = 12,
- /** deprecated / use CodeWScope */
+ /** code type */
Code = 13,
- /** a programming language (e.g., Python) symbol */
+ /** (Deprecated) a programming language (e.g., Python) symbol */
Symbol = 14,
- /** javascript code that can execute on the database server, with SavedContext */
+ /** (Deprecated) javascript code that can execute on the database server, with SavedContext */
CodeWScope = 15,
/** 32 bit signed integer */
NumberInt = 16,