I have a collection containing an array with several pairs of key/value, where the value is in binary format.
When I consult a document with Compass, here’s what I see :
The “real” value behind the binary value is a timestamp (“2023-09-05T11:37:27.795Z”)
What I would like to do is to use that real value in an aggregation pipeline.
So far I can get the type (that indicates that it’s well a BinData), the size (24, which is indeed the real size of the timestamp that I’m trying to retrieve), but I don’t find any operator that allows to “decode” the binary value, in order to get the “real” value.
Does someone know how I could achieve this ?