Is there a way to use Binary
values in queries in MongoDB Compass? I tried different syntaxes, but none of them work. I use the Binary
type quite a lot, e.g. for user IDs and it would be really useful if I could build and analyse queries in MongoDB Compass.
One syntax that doesn’t give me an error, but produces no results is like this: { "user_id": Binary('AjHO4fVjpb6GOvVhHeHOQ==', 0) }