-
Notifications
You must be signed in to change notification settings - Fork 4
/
995.txt
51 lines (33 loc) · 1.21 KB
/
995.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[6]
[DFN[BSON]]
は
[[MongoDB]]
の[[データ形式]]の1つです。
[7]
[[BSON]]
は
Binary JSON
の略とされていますが、
[[JSON]] とは特に関係ない [[JSONもどき]]の一種です。
* 仕様書
[1] [CITE[BSON - Binary JSON]]
( ([TIME[2014-03-24 14:09:10 +09:00]] 版))
<http://bsonspec.org/>
[9] [CITE@en[specifications/subtype6.rst at master · mongodb/specifications · GitHub]], [TIME[2023-04-17T05:20:42.000Z]] <https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/subtype6.rst>
* データ型
[3]
[[正規表現]],
[[UUID]],
[[MD5]],
[[JavaScriptコード]]
** BSON における日時
[5] 次の2つの[[日時データ型]]があります [SRC[>>1]]。
>UTC datetime - The int64 is UTC milliseconds since the Unix epoch.
>Timestamp - Special internal type used by MongoDB replication and sharding. First 4 bytes are an increment, second 4 are a timestamp.
[8]
[DFN[UTC datetime]] は[[ミリ秒Unix time]]。
* 実装
[2] [CITE@en[GitHub - mongodb/js-bson: BSON Parser for node and browser]], [TIME[2021-09-21T06:34:29.000Z]] <https://github.com/mongodb/js-bson>
* 関連
[4] [[MongoDB Extended JSON]]
* メモ