File tree Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Expand file tree Collapse file tree 2 files changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,50 @@ the :doc:`Extended JSON </reference/mongodb-extended-json>` reference.
4141The following sections describe special considerations for particular
4242BSON types.
4343
44+ .. _document-bson-type-binary-data:
45+
46+ Binary Data
47+ -----------
48+
49+ A BSON binary ``binData`` value is a byte array. A ``binData`` value
50+ has a subtype that indicates how to interpret the binary data. The
51+ following table shows the subtypes.
52+
53+ .. list-table::
54+ :header-rows: 1
55+
56+ * - Number
57+ - Subtype
58+
59+ * - 0
60+ - Generic binary subtype
61+
62+ * - 1
63+ - Function data
64+
65+ * - 2
66+ - Binary (old)
67+
68+ * - 3
69+ - UUID (old)
70+
71+ * - 4
72+ - UUID
73+
74+ * - 5
75+ - MD5
76+
77+ * - 6
78+ - Encrypted BSON value
79+
80+ * - 7
81+ - Compressed time series data
82+
83+ .. versionadded:: 5.2
84+
85+ * - 128
86+ - Custom data
87+
4488.. _document-bson-type-object-id:
4589.. _objectid:
4690
Original file line number Diff line number Diff line change @@ -88,6 +88,10 @@ Time Series Collection Data Compression
8888See :ref:`time series collection behavior
8989<timeseries-collections-behavior>`.
9090
91+ In addition, starting in MongoDB 5.2, the new :ref:`BSON binary data
92+ <document-bson-type-binary-data>` subtype is used for compressed time
93+ series data.
94+
9195.. _5.2-rel-notes-repl-sets:
9296
9397Replica Sets
You can’t perform that action at this time.
0 commit comments