diff --git a/bson/binary.py b/bson/binary.py index dd12f56e2..50cfbd843 100644 --- a/bson/binary.py +++ b/bson/binary.py @@ -169,6 +169,12 @@ MD5_SUBTYPE = 5 """BSON binary subtype for an MD5 hash. """ +COLUMN_SUBTYPE = 7 +"""BSON binary subtype for columns. + +.. versionadded:: 4.0 +""" + USER_DEFINED_SUBTYPE = 128 """BSON binary subtype for any user defined structure. """ diff --git a/doc/api/bson/binary.rst b/doc/api/bson/binary.rst index a754d43d5..b9673d70d 100644 --- a/doc/api/bson/binary.rst +++ b/doc/api/bson/binary.rst @@ -14,6 +14,7 @@ .. autodata:: JAVA_LEGACY .. autodata:: CSHARP_LEGACY .. autodata:: MD5_SUBTYPE + .. autodata:: COLUMN_SUBTYPE .. autodata:: USER_DEFINED_SUBTYPE .. autoclass:: UuidRepresentation