We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da59c3 commit f61946dCopy full SHA for f61946d
src/binary.ts
@@ -45,7 +45,10 @@ export class Binary extends BSONValue {
45
static readonly SUBTYPE_DEFAULT = 0;
46
/** Function BSON type */
47
static readonly SUBTYPE_FUNCTION = 1;
48
- /** Byte Array BSON type */
+ /**
49
+ * Legacy default BSON Binary type
50
+ * @deprecated BSON Binary subtype 2 is deprecated in the BSON specification
51
+ */
52
static readonly SUBTYPE_BYTE_ARRAY = 2;
53
/** Deprecated UUID BSON type @deprecated Please use SUBTYPE_UUID */
54
static readonly SUBTYPE_UUID_OLD = 3;
0 commit comments