99 - 5 : [ content.bson_oid, content.strict_oid, content.js_oid, content.mongo_oid, content.notes_oid ]
1010 - 6 : [ content.bson_ref, content.strict_ref, content.js_ref, content.mongo_ref, content.notes_ref ]
1111 - 7 : [ content.bson_undef, content.strict_undef, content.js_undef, content.mongo_undef, content.notes_undef ]
12+ - 8 : [ content.bson_minkey, content.strict_minkey, content.js_minkey, content.mongo_minkey, content.notes_minkey ]
13+ - 9 : [ content.bson_maxkey, content.strict_maxkey, content.js_maxkey, content.mongo_maxkey, content.notes_maxkey ]
1214---
1315# table metadata, as meta.<key>
1416section : meta
1517header1 : " BSON Data Type"
1618header2 : " Strict Mode"
17- header3 : " JavaScript Mode"
19+ header3 : " JavaScript Mode (via JSONP) "
1820header4 : " mongo Shell Mode"
1921header5 : " Notes"
2022---
@@ -38,10 +40,7 @@ js_bin: |
3840mongo_bin : |
3941 .. code-block:: javascript
4042
41- {
42- "$binary": "<bindata>",
43- "$type": "<t>"
44- }
43+ BinData ( <t>, <bindata> )
4544notes_bin : |
4645 ``<bindata>`` is the base64 representation of a binary
4746 string.
@@ -58,14 +57,14 @@ strict_date: |
5857js_date : |
5958 .. code-block:: javascript
6059
61- Date( <date> )
60+ new Date( <date> )
6261mongo_date : |
6362 .. code-block:: javascript
6463
65- Date ( <date> )
64+ new Date ( <date> )
6665notes_date : |
6766 ``<date>`` is the JSON representation of a 64-bit signed
68- integer for milliseconds since epoch (unsigned before
67+ integer for milliseconds since epoch UTC (unsigned before
6968 version 1.9.1).
7069bson_ts : " .. bsontype:: data_timestamp"
7170strict_ts : |
@@ -194,4 +193,49 @@ mongo_undef: |
194193 undefined
195194notes_undef : |
196195 The representation for the JavaScript/BSON undefined type.
196+ bson_minkey : " .. bsontype:: data_minkey"
197+ strict_minkey : |
198+ .. code-block:: javascript
199+
200+ {
201+ "$minKey": 1
202+ }
203+ js_minkey : |
204+ .. code-block:: javascript
205+
206+ {
207+ "$minKey": 1
208+ }
209+ mongo_minkey : |
210+ .. code-block:: javascript
211+
212+ MinKey
213+ notes_minkey : |
214+ The representation of the MinKey BSON data type which
215+ compares lower than all other types. See
216+ :ref:`faq-dev-compare-order-for-BSON-types` for more
217+ information on comparison order for BSON types.
218+
219+ bson_maxkey : " .. bsontype:: data_maxkey"
220+ strict_maxkey : |
221+ .. code-block:: javascript
222+
223+ {
224+ "$maxKey": 1
225+ }
226+ js_maxkey : |
227+ .. code-block:: javascript
228+
229+ {
230+ "$maxKey": 1
231+ }
232+ mongo_maxkey : |
233+ .. code-block:: javascript
234+
235+ MaxKey
236+ notes_maxkey : |
237+ The representation of the MaxKey BSON data type which
238+ compares higher than all other types. See
239+ :ref:`faq-dev-compare-order-for-BSON-types` for more
240+ information on comparison order for BSON types.
197241 ...
0 commit comments